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

Function test_stats_empty

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

Source from the content-addressed store, hash-verified

1178
1179 #[test]
1180 fn test_stats_empty() {
1181 let table = HashDedupTable::empty();
1182 let stats = table.stats();
1183 assert_eq!(stats.entry_count, 0);
1184 assert_eq!(stats.dependency_count, 0);
1185 assert_eq!(stats.serialized_bytes, 0);
1186 }
1187
1188 #[test]
1189 fn test_stats_with_entries() {

Callers

nothing calls this directly

Calls 1

statsMethod · 0.45

Tested by

no test coverage detected