()
| 961 | |
| 962 | #[test] |
| 963 | fn test_tracker_iter_mut() { |
| 964 | let mut tracker = CrdtConflictTracker::new(); |
| 965 | tracker.add_simple(ConflictKind::ConcurrentInsert, "test"); |
| 966 | |
| 967 | for conflict in tracker.iter_mut() { |
| 968 | conflict.mark_resolved(None); |
| 969 | } |
| 970 | |
| 971 | assert!(tracker.as_slice()[0].is_resolved()); |
| 972 | } |
| 973 | |
| 974 | #[test] |
| 975 | fn test_tracker_into_conflicts() { |
nothing calls this directly
no test coverage detected