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

Function test_stats_empty

atomic-core/src/record/builder.rs:852–859  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

850
851 #[test]
852 fn test_stats_empty() {
853 let builder = RecordBuilder::new();
854 let stats = builder.stats();
855
856 assert!(stats.is_empty());
857 assert_eq!(stats.hunk_count, 0);
858 assert_eq!(stats.content_bytes, 0);
859 }
860
861 #[test]
862 fn test_stats_populated() {

Callers

nothing calls this directly

Calls 1

statsMethod · 0.45

Tested by

no test coverage detected