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

Function test_tracker_clone

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

Source from the content-addressed store, hash-verified

1147
1148 #[test]
1149 fn test_tracker_clone() {
1150 let mut tracker = CrdtConflictTracker::new();
1151 tracker.add_simple(ConflictKind::ConcurrentInsert, "test");
1152
1153 let cloned = tracker.clone();
1154 assert_eq!(cloned.count(), tracker.count());
1155 }
1156}

Callers

nothing calls this directly

Calls 2

add_simpleMethod · 0.80
cloneMethod · 0.45

Tested by

no test coverage detected