()
| 116 | |
| 117 | #[test] |
| 118 | fn topological() { |
| 119 | let graph = create_digraph(TINY_DG); |
| 120 | let cycle = Topological::from(graph.as_ref()); |
| 121 | assert!(!cycle.has_order()); |
| 122 | |
| 123 | let i = JOBS; |
| 124 | let symbol_graph = SymbolGraph::new(i, "/", |nv| Box::new(Digraph::from(nv))); |
| 125 | let graph = symbol_graph.G(); |
| 126 | let cycle = Topological::from(graph); |
| 127 | assert!(cycle.has_order()); |
| 128 | } |
| 129 | |
| 130 | #[test] |
| 131 | fn scc() { |
nothing calls this directly
no test coverage detected