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

Function test_tracker_into_conflicts

atomic-core/src/crdt/apply/conflict.rs:975–981  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

973
974 #[test]
975 fn test_tracker_into_conflicts() {
976 let mut tracker = CrdtConflictTracker::new();
977 tracker.add_simple(ConflictKind::ConcurrentInsert, "test");
978
979 let conflicts = tracker.into_conflicts();
980 assert_eq!(conflicts.len(), 1);
981 }
982
983 #[test]
984 fn test_tracker_clear() {

Callers

nothing calls this directly

Calls 2

add_simpleMethod · 0.80
into_conflictsMethod · 0.45

Tested by

no test coverage detected