()
| 951 | |
| 952 | #[test] |
| 953 | fn test_tracker_iter() { |
| 954 | let mut tracker = CrdtConflictTracker::new(); |
| 955 | tracker.add_simple(ConflictKind::ConcurrentInsert, "1"); |
| 956 | tracker.add_simple(ConflictKind::DeleteModify, "2"); |
| 957 | |
| 958 | let kinds: Vec<_> = tracker.iter().map(|c| c.kind()).collect(); |
| 959 | assert_eq!(kinds.len(), 2); |
| 960 | } |
| 961 | |
| 962 | #[test] |
| 963 | fn test_tracker_iter_mut() { |
nothing calls this directly
no test coverage detected