Commit 256de47
test(ascii_graph): Fix animation test to use correct frame pattern
The test incorrectly assumed next_frame() would update existing cells.
Animation actually works at draw-time: the frame counter determines
where '•' bullets are placed when draw_flow_arrow() is called.
Fixed by creating separate canvases at different frame values,
which properly tests the frame-dependent animation logic:
- Frame 0: bullets at positions where (x + 0) % 4 == 0
- Frame 1: bullets at positions where (x + 1) % 4 == 0
Test results: 554 passed, 0 failed, 17 ignored
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 209b3ca commit 256de47
1 file changed
+19
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
472 | | - | |
473 | 472 | | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
485 | 492 | | |
486 | 493 | | |
0 commit comments