wangdl 7570717ec8 test: add extract_pdf_text unit tests (DOC-FULL-023)
- pdf_with_text_stream helper: build minimal PDFs with BT/ET text
- single/multiple text blocks, no BT/ET→empty, empty PDF→empty
- MAX_SCAN_BYTES limit respected, empty text filtered
- page_count from pages dict, default to 1

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-18 13:32:34 +08:00
..