jedarden
a22d26f0ab
test(pdftract-4fa9): object parser fixture corpus + proptest harness + critical-test suite
Add comprehensive test infrastructure for PDF object parser:
- Curated fixtures under crates/pdftract-core/tests/object_parser/fixtures/:
* nested_dict.pdf.in - deeply nested dictionary structure
* mixed_array.pdf.in - array with mixed PDF object types
* indirect_simple.pdf.in - minimal indirect object
* indirect_stream.pdf.in - indirect object with stream
* objstm_basic.pdf.in + objstm_extends.pdf.in - ObjStm fixtures
* circular_self.pdf.in + circular_three.pdf.in - circular reference detection
* truncated_dict.pdf.in - malformed dictionary (missing >>)
* deep_nesting.pdf.in - 300 levels of nested dicts (tests depth limit)
- Proptest properties in object_parser_proptest.rs:
* prop_parser_never_panics - INV-8: parser is total over input domain
* prop_resolve_terminates - bounded resolution, no infinite loops
* prop_dict_order_preserved - INV-3: deterministic dict iteration order
* prop_cache_consistency - cache hit = cache miss for same input
* prop_inv8_no_panic - any input → Some/None, never panic
- Golden output tests with BLESS=1 support for updating expected files
Closes pdftract-4fa9. Verification: notes/pdftract-4fa9.md.