()
| 157 | |
| 158 | #[test] |
| 159 | fn single_node() { |
| 160 | let a = n("A"); |
| 161 | let g = map_of(&[(&a, &[])]); |
| 162 | let sccs = compute_sccs(&g); |
| 163 | assert_eq!(scc_to_vec(&sccs), vec![vec![n("A")]]); |
| 164 | } |
| 165 | |
| 166 | #[test] |
| 167 | fn simple_cycle() { |
nothing calls this directly
no test coverage detected