MCPcopy Create free account
hub / github.com/douchuan/algorithm / scc

Function scc

tests/test_directed_graph.rs:131–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129
130#[test]
131fn scc() {
132 let graph = create_digraph(TINY_DG);
133 let scc = KosarajuSCC::new(graph.as_ref());
134 assert_eq!(5, scc.count());
135}
136
137#[test]
138fn transitive_closure() {

Callers

nothing calls this directly

Calls 1

create_digraphFunction · 0.85

Tested by

no test coverage detected