MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_stats_display

Function test_stats_display

atomic-core/src/change/format_v3/reader/tests.rs:598–614  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

596
597#[test]
598fn 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected