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.
7 lines
418 B
Text
7 lines
418 B
Text
# Seeds for failure cases proptest has generated in the past. It is
|
|
# automatically read and these particular cases re-run before any
|
|
# novel cases are generated.
|
|
#
|
|
# It is recommended to check this file in to source control so that
|
|
# everyone who runs the test benefits from these saved cases.
|
|
cc bfbd41677f7e09471874ab846d768914e872111c9aba8e11844d80fe0e002e67 # shrinks to kv_pairs = [("v", 0), ("v", 0), ("A", 0)]
|