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

Function test_stats_display

atomic-repository/src/redb_change_store/tests.rs:952–965  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

950
951#[test]
952fn test_stats_display() {
953 let stats = StoreStats {
954 change_count: 5,
955 graph_section_count: 10,
956 semantic_section_count: 10,
957 content_chunk_count: 20,
958 change_chunk_mappings: 25,
959 unhashed_count: 2,
960 };
961 let display = format!("{}", stats);
962 assert!(display.contains("5 changes"));
963 assert!(display.contains("10 graph"));
964 assert!(display.contains("20 unique chunks"));
965}
966
967// ── Chunk Manifest ─────────────────────────────────────────────
968

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected