test: cover a recording that resizes mid-session in the golden suite #8

Merged
natsukium merged 1 commit from resize-golden into main 2026-09-26 01:57:12 +09:00
Owner

Why

The frame loop resizes the renderer and pads each frame into a canvas sized to the largest grid, but both golden fixtures kept their header size.

What

  • tests/fixtures/resize.fcast: hello plus size frames at 2.5 s (60×10, past the header) and 3.0 s (40×6).
  • Golden frames 10 (header size, letterboxed in the 60×10 canvas) and 30 (shrunk, rows truncated at 40 columns).
  • Backlog drops the end-to-end resize item.

Verification

Rendered and inspected the frames; cargo test --all-features and clippy green.

## Why The frame loop resizes the renderer and pads each frame into a canvas sized to the largest grid, but both golden fixtures kept their header size. ## What - `tests/fixtures/resize.fcast`: hello plus `size` frames at 2.5 s (60×10, past the header) and 3.0 s (40×6). - Golden frames 10 (header size, letterboxed in the 60×10 canvas) and 30 (shrunk, rows truncated at 40 columns). - Backlog drops the end-to-end resize item. ## Verification Rendered and inspected the frames; `cargo test --all-features` and clippy green.
test: cover a recording that resizes mid-session in the golden suite
All checks were successful
ci / cargo fmt / clippy / test / deny (pull_request) Successful in 1m0s
3824ce26ac
The frame loop resizes the renderer and pads each frame into a canvas
sized to the largest grid, and nothing exercised that path: both
fixtures keep their header size. The resize fixture is hello with two
size frames appended, growing past the header and then shrinking below
it, and its golden frames pin the letterboxed and truncated output.

Assisted-by: Claude Code
natsukium deleted branch resize-golden 2026-09-26 01:57:12 +09:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
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.

Dependencies

No dependencies set

Reference
natsukium/felis-reel!8
No description provided.