()
| 599 | |
| 600 | #[test] |
| 601 | fn test_scc_id_hash() { |
| 602 | use std::collections::HashSet; |
| 603 | let mut set = HashSet::new(); |
| 604 | set.insert(SccId::new(1)); |
| 605 | set.insert(SccId::new(2)); |
| 606 | set.insert(SccId::new(1)); // duplicate |
| 607 | assert_eq!(set.len(), 2); |
| 608 | } |
| 609 | |
| 610 | // ------------------------------------------------------------------------- |
| 611 | // PathElement Tests |