Fixed compilation errors in watermark_formula.rs tests by: - Using Block<()> as the concrete type for generic Block<S> - Creating a make_test_block() helper to avoid repetition - Removing unused TestBlock struct The stub functions classify_watermark and classify_formula were already correctly implemented and always return false (Phase 4 stubs). Acceptance criteria: - BlockKind::Watermark variant exists: PASS - BlockKind::Formula variant exists: PASS - classify_watermark always false: PASS - classify_formula always false: PASS - No v0.1.0 block has kind=Watermark or Formula: PASS References: plan.md Phase 4.4 (line 1709) + 4.6 watermark note (line 1752) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| pdftract-cer-diff | ||
| pdftract-cli | ||
| pdftract-core | ||
| pdftract-libpdftract | ||
| pdftract-py | ||