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

Function locate_file

tests/test_undirected_graph.rs:179–183  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

177
178#[test]
179fn locate_file() {
180 let mut d = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
181 d.push("res/graph/tinyCG.txt");
182 assert!(d.exists(), "d = {}", d.display());
183}
184
185fn create_graph(i: &str) -> Box<dyn IGraph> {
186 Box::new(Graph::from(i))

Callers

nothing calls this directly

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected