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

Function test_context_stats_mut

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

Source from the content-addressed store, hash-verified

1068
1069 #[test]
1070 fn test_context_stats_mut() {
1071 let mut context = ApplyContext::with_defaults();
1072 context.stats_mut().add_trunk_created();
1073 assert_eq!(context.stats().trunks_created(), 1);
1074 }
1075
1076 // ApplyOutcome Tests
1077

Callers

nothing calls this directly

Calls 2

add_trunk_createdMethod · 0.80
stats_mutMethod · 0.80

Tested by

no test coverage detected