MCPcopy Index your code
hub / github.com/douchuan/algorithm / dfs

Function dfs

tests/test_directed_graph.rs:22–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20
21#[test]
22fn dfs() {
23 let graph = create_digraph(TINY_DG);
24 let order = DepthFirstOrders::from(graph.as_ref());
25 assert!(order.check().is_ok());
26}
27
28#[test]
29fn dfs_paths() {

Callers

nothing calls this directly

Calls 1

create_digraphFunction · 0.85

Tested by

no test coverage detected