Commit 32eaf11
committed
test(hpc/blocked_grid): integration tests + module-level doctest (PR-X3 A6)
Adds the final test-density layer after A1-A5 shipped their inline
#[cfg(test)] coverage:
- src/hpc/blocked_grid/tests.rs (new) — integration tests that span
multiple submodules: W4 bulk_apply composition, L1→L2 cascade, all
seven type aliases instantiate, half-square AMX INT8 pattern,
as_padded_slice footgun verification, const-generic compile-fail
- src/hpc/blocked_grid/mod.rs — module-level doctest demonstrating the
canonical compose pattern (ShaderMantissaGrid → map_l1 → verify input
unchanged + output as expected) and #[cfg(test)] mod tests registration
Test count: +17 lib tests + 2 doctests above the A5 baseline (74 + 74).
All 5 gates green.
https://claude.ai/code/session_01UwJuKqP828qyX1VkLgGJFS1 parent fbbbb35 commit 32eaf11
2 files changed
Lines changed: 463 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
19 | 67 | | |
20 | 68 | | |
21 | 69 | | |
22 | 70 | | |
23 | 71 | | |
24 | 72 | | |
| 73 | + | |
| 74 | + | |
25 | 75 | | |
26 | 76 | | |
27 | 77 | | |
| |||
0 commit comments