()
| 689 | |
| 690 | #[test] |
| 691 | fn test_conflict_tracker_total_count() { |
| 692 | let mut tracker = ConflictTracker::new(); |
| 693 | |
| 694 | tracker.add_zombie_vertex(make_vertex(42, 0, 10)); |
| 695 | tracker.add_missing_context(MissingContextConflict::predecessors( |
| 696 | make_position(42, 100), |
| 697 | NodeId::new(50), |
| 698 | )); |
| 699 | tracker.add_order_conflict(OrderConflict::new(make_position(42, 200))); |
| 700 | |
| 701 | assert_eq!(tracker.total_conflict_count(), 3); |
| 702 | } |
| 703 | |
| 704 | #[test] |
| 705 | fn test_conflict_tracker_involved_changes() { |
nothing calls this directly
no test coverage detected