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

Function test_tracker_clear

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

Source from the content-addressed store, hash-verified

982
983 #[test]
984 fn test_tracker_clear() {
985 let mut tracker = CrdtConflictTracker::new();
986 tracker.add_simple(ConflictKind::ConcurrentInsert, "test");
987 tracker.clear();
988
989 assert!(tracker.is_empty());
990 }
991
992 #[test]
993 fn test_tracker_by_kind() {

Callers

nothing calls this directly

Calls 2

add_simpleMethod · 0.80
clearMethod · 0.65

Tested by

no test coverage detected