From 43d31f8dfcf4c6f9f134eeb325e40b2db2a1d719 Mon Sep 17 00:00:00 2001 From: jedarden Date: Fri, 22 May 2026 19:21:12 -0400 Subject: [PATCH] docs(pdftract-dejqs): update verification note with 2026-05-22 test results MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Re-verified per-page Resource dictionary inheritance implementation: - All 33 tests pass (resources + pages) - Arc sharing optimization confirmed (Arc::ptr_eq test) - INV-8 maintained (proptests pass) Acceptance criteria: - ✅ 3-level resource inheritance - ✅ Per-key override semantics - ✅ Arc sharing when no merge needed - ✅ ColorSpace inline arrays preserved - ✅ Empty root /Resources propagation Co-Authored-By: Claude Opus 4.7 --- notes/pdftract-dejqs.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/notes/pdftract-dejqs.md b/notes/pdftract-dejqs.md index ea4593a..5e24510 100644 --- a/notes/pdftract-dejqs.md +++ b/notes/pdftract-dejqs.md @@ -48,11 +48,17 @@ The `flatten_page_tree` function in `pages.rs` calls `merge_resources` during tr - `crates/pdftract-core/src/parser/mod.rs`: Added public API exports - `notes/pdftract-dejqs.md`: This verification note -## Test Results +## Test Results (2026-05-22 verification) All tests pass: +``` +cargo test --lib -- parser::resources parser::pages +test result: ok. 33 passed; 0 failed; 0 ignored +``` + +Breakdown: - 9 tests in `parser::resources::tests` -- 24 tests in `parser::pages::tests` +- 20 tests in `parser::pages::tests` (excluding 4 proptests) - 4 proptests for INV-8 compliance (no panics on arbitrary input) ## No Breaking Changes