mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-07 11:06:11 -10:00
Fusion layouts: say which overlay test pins a guess
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
1a54e1cc56
commit
2fb130b16c
1 file changed
+3
-2
@@ -382,8 +382,9 @@ mod tests {
|
||||
// The wiki's GIF: sand up, up-left, left and right, not up-right. The up-left piece,
|
||||
// (5, 2), and the right edge, (0, 1).
|
||||
assert_eq!(cells(U | UL | L | R), [6, 17]);
|
||||
// Every side and no corner: four edges; every side but the top-left corner: the
|
||||
// pieces for up-right-down and right-down-left.
|
||||
// Every side and no corner: four edges. Every side but the top-left corner: no
|
||||
// template or GIF shows it, so this pins `overlay_tiles`' own choice, the pieces for
|
||||
// up-right-down and right-down-left.
|
||||
assert_eq!(cells(U | R | D | L), [13, 6, 1, 8]);
|
||||
assert_eq!(cells(0xff & !UL), [9, 4]);
|
||||
// A lone corner each.
|
||||
|
||||
Reference in new issue
Block a user