pdftract/crates/pdftract-core/src
jedarden 319f81aaa3 test(bf-21hw8): add bounded predictor tests for PNG and TIFF
Add 4 new tests to verify PNG and TIFF predictor functions use row-by-row
processing with bounded peak memory (2x stride), never pre-allocating full
output buffers inside tests.

- test_png_predictor_budget_enforcement_small_fixture: 200-byte fixture,
  100-byte budget, verifies truncation at row boundary
- test_tiff_predictor_2_budget_enforcement_small_fixture: 160-byte fixture,
  80-byte budget, verifies row-by-row processing for grayscale
- test_png_predictor_multiple_selectors_budget_per_row: 25-byte fixture
  with all PNG selector types, verifies per-row budget checking
- test_tiff_predictor_2_rgb_budget_enforcement: 45-byte RGB fixture,
  verifies multi-byte pixel handling with budget enforcement

All fixtures are under 250 bytes, no full-buffer pre-allocation, tests
mirror the row-by-row discipline from bf-49wmw production fix.

Closes bf-21hw8
2026-05-23 13:35:57 -04:00
..
cache feat(pdftract-2i6rt): implement cache CLI subcommand and HTTP integration 2026-05-23 06:33:43 -04:00
fingerprint feat(pdftract-154mz): fix canonicalization module compilation 2026-05-20 19:24:38 -04:00
parser test(bf-21hw8): add bounded predictor tests for PNG and TIFF 2026-05-23 13:35:57 -04:00
receipts feat(pdftract-36wlt): implement verify-receipt subcommand + verifier protocol 2026-05-23 04:00:15 -04:00
schema feat(pdftract-5zm86): implement Receipt struct + lite-mode serialization 2026-05-23 03:30:24 -04:00
diagnostics.rs feat(pdftract-29z7b): implement unified diagnostic system + CLI commands 2026-05-22 22:38:31 -04:00
document.rs feat(pdftract-bf-2y2rp): implement lazy stream decoding for PDF extraction 2026-05-23 12:30:26 -04:00
extract.rs feat(pdftract-bf-2y2rp): implement lazy stream decoding for PDF extraction 2026-05-23 12:30:26 -04:00
lib.rs feat(pdftract-bf-2y2rp): implement lazy stream decoding for PDF extraction 2026-05-23 12:30:26 -04:00
options.rs fix(pdftract-bf-5mry9): fix compilation bugs in rayon parallel extraction 2026-05-23 12:02:54 -04:00
semaphore.rs fix(pdftract-bf-5mry9): fix compilation bugs in rayon parallel extraction 2026-05-23 12:02:54 -04:00