()
| 596 | |
| 597 | #[test] |
| 598 | fn test_stats_display() { |
| 599 | let stats = ReaderStats { |
| 600 | sections_read: 5, |
| 601 | sections_skipped: 3, |
| 602 | graph_sections_read: 2, |
| 603 | semantic_sections_read: 1, |
| 604 | content_chunks_read: 2, |
| 605 | total_decompressed: 10000, |
| 606 | total_compressed: 3000, |
| 607 | total_bytes_read: 4000, |
| 608 | }; |
| 609 | let display = format!("{}", stats); |
| 610 | assert!(display.contains("5 sections read")); |
| 611 | assert!(display.contains("3 skipped")); |
| 612 | assert!(display.contains("3000 bytes compressed")); |
| 613 | assert!(display.contains("10000 bytes decompressed")); |
| 614 | } |
| 615 | |
| 616 | // ── Remaining Sections Counter ───────────────────────────────── |
| 617 |
nothing calls this directly
no outgoing calls
no test coverage detected