()
| 676 | |
| 677 | #[test] |
| 678 | fn test_conflict_path_iter() { |
| 679 | let mut path = ConflictPath::new(); |
| 680 | path.push(PathElement::scc(SccId::new(0))); |
| 681 | path.push(PathElement::scc(SccId::new(1))); |
| 682 | |
| 683 | let elements: Vec<_> = path.iter().collect(); |
| 684 | assert_eq!(elements.len(), 2); |
| 685 | } |
| 686 | |
| 687 | // ------------------------------------------------------------------------- |
| 688 | // ConflictTree Tests |