()
| 709 | |
| 710 | #[test] |
| 711 | fn test_scc_id_hash() { |
| 712 | use std::collections::HashSet; |
| 713 | let mut set = HashSet::new(); |
| 714 | set.insert(SccId::new(1)); |
| 715 | set.insert(SccId::new(2)); |
| 716 | set.insert(SccId::new(1)); // duplicate |
| 717 | assert_eq!(set.len(), 2); |
| 718 | } |
| 719 | |
| 720 | // ------------------------------------------------------------------------- |
| 721 | // PathElement Tests |