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

Function test_stats_new

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

Source from the content-addressed store, hash-verified

773
774 #[test]
775 fn test_stats_new() {
776 let stats = ApplyStats::new();
777 assert_eq!(stats.total_operations(), 0);
778 assert!(!stats.has_operations());
779 assert!(!stats.has_conflicts());
780 }
781
782 #[test]
783 fn test_stats_default() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected