()
| 1035 | |
| 1036 | #[test] |
| 1037 | fn test_tracker_has_unresolved() { |
| 1038 | let mut tracker = CrdtConflictTracker::new(); |
| 1039 | tracker.add_simple(ConflictKind::ConcurrentInsert, "test"); |
| 1040 | |
| 1041 | assert!(tracker.has_unresolved()); |
| 1042 | |
| 1043 | for conflict in tracker.iter_mut() { |
| 1044 | conflict.mark_resolved(None); |
| 1045 | } |
| 1046 | |
| 1047 | assert!(!tracker.has_unresolved()); |
| 1048 | } |
| 1049 | |
| 1050 | #[test] |
| 1051 | fn test_tracker_unresolved() { |
nothing calls this directly
no test coverage detected