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

Function test_stats_content_bytes

atomic-core/src/crdt/apply/context.rs:855–860  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

853
854 #[test]
855 fn test_stats_content_bytes() {
856 let mut stats = ApplyStats::new();
857 stats.add_content_bytes(100);
858 stats.add_content_bytes(50);
859 assert_eq!(stats.content_bytes_processed(), 150);
860 }
861
862 #[test]
863 fn test_stats_conflicts() {

Callers

nothing calls this directly

Calls 1

add_content_bytesMethod · 0.45

Tested by

no test coverage detected