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

Function test_stats_display

atomic-core/src/change/format_v3/hash_table.rs:1201–1208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1199
1200 #[test]
1201 fn test_stats_display() {
1202 let table = HashDedupTable::new(make_hash(0));
1203 let stats = table.stats();
1204 let display = format!("{}", stats);
1205 assert!(display.contains("1 entries"));
1206 assert!(display.contains("0 deps"));
1207 assert!(display.contains("32 bytes"));
1208 }
1209
1210 // ── Display / Debug ────────────────────────────────────────────
1211

Callers

nothing calls this directly

Calls 2

make_hashFunction · 0.70
statsMethod · 0.45

Tested by

no test coverage detected