GPU: add synthetic unit tests for query.rs and signature.rs #1173

Merged
geiyiliyabumo merged 1 commit from upstream-pr/1173 into main 2026-11-25 00:13:06 +00:00
geiyiliyabumo commented 2026-11-24 16:19:34 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by geiyiliyabumo on 2026-11-24T16:19:34Z.


Summary

Closes #897

Full verification details and change notes are documented in #897 (commit 0be58e6, based on main ffe310e).

 crates/victory-gpu/src/query.rs     |  87 ++++++++++++++++
 crates/victory-gpu/src/signature.rs | 202 ++++++++++++++++++++++++++++++++++++
 2 files changed, 289 insertions(+)

Verification (Windows 11 x64 MSVC)

  • rustfmt --edition 2024 --check on edited files: PASS
  • cargo xtask policy: PASS (zero game files/data)
  • cargo clippy --all-targets --locked -- -D warnings (default + --features diagnostics where applicable): PASS
  • Targeted & crate unit/GPU tests: PASS

AI-assisted; synthetic tests only, no game files.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6586343726 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1173). Originally posted by [geiyiliyabumo](https://github.com/geiyiliyabumo) on 2026-11-24T16:19:34Z. --- ### Summary Closes #897 Full verification details and change notes are documented in #897 (commit `0be58e6`, based on `main` `ffe310e`). ```text crates/victory-gpu/src/query.rs | 87 ++++++++++++++++ crates/victory-gpu/src/signature.rs | 202 ++++++++++++++++++++++++++++++++++++ 2 files changed, 289 insertions(+) ``` ### Verification (Windows 11 x64 MSVC) - `rustfmt --edition 2024 --check` on edited files: **PASS** - `cargo xtask policy`: **PASS** (zero game files/data) - `cargo clippy --all-targets --locked -- -D warnings` (default + `--features diagnostics` where applicable): **PASS** - Targeted & crate unit/GPU tests: **PASS** *AI-assisted; synthetic tests only, no game files.*
Zipettte commented 2026-11-24 18:06:11 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Zipettte on 2026-11-24T18:00:49Z.


Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at 0be58e6: cargo test -p victory-gpu passes, 58 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed).

Tested with AI assistance (Claude).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7140030071 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1173#issuecomment-7140030071). Originally posted by [Zipettte](https://github.com/Zipettte) on 2026-11-24T18:00:49Z. --- Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at 0be58e6: `cargo test -p victory-gpu` passes, 58 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed). _Tested with AI assistance (Claude)._
upstream-sync closed this pull request 2026-11-25 01:05:48 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Marvisak/VIctory!1173
No description provided.