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

Function parser

tests/test_directed_graph.rs:13–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11
12#[test]
13fn parser() {
14 //test parser
15 let i = TINY_DG;
16 let graph = Digraph::from(i);
17 assert_eq!(graph.V(), 13);
18 assert_eq!(graph.E(), 22);
19}
20
21#[test]
22fn dfs() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected