gstack/make-pdf/test/fixtures/diagram-assets
Garry Tan a2c1eae16e
test(make-pdf): width-policy unit suite + landscape e2e gate with negative fixtures
24 unit tests weighted toward the false-positive guards: wide screenshot
without an alt hint stays portrait, sub-threshold and tall images stay
portrait, deterministic 1560/1561px boundary, whole-word alt matching
('photographic' must not match 'graph'), page=portrait veto beats every
heuristic, diagnostic blocks never promote. E2E gate asserts pdfinfo
per-page boxes through the compiled binary: exactly 3 of 5 fixture blocks
get landscape pages (alt-hinted image, directive-forced image, wide sequence
diagram) while the unhinted screenshot and the veto'd diagram stay portrait —
plus the --toc combo proving TOC and named-page landscape coexist.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 00:06:46 -07:00
..
red-box.png test(make-pdf): diagram pre-pass unit suite + e2e render gates 2026-06-11 23:59:40 -07:00
wide-arch.png test(make-pdf): width-policy unit suite + landscape e2e gate with negative fixtures 2026-06-12 00:06:46 -07:00
wide-screenshot.png test(make-pdf): width-policy unit suite + landscape e2e gate with negative fixtures 2026-06-12 00:06:46 -07:00