MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / no_children_at_all

Function no_children_at_all

atomic-core/src/output/repo/fork.rs:334–347  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

332
333 #[test]
334 fn no_children_at_all() {
335 let mut graph = AliveGraph::new();
336 graph.push_vertex(AliveVertex::DUMMY);
337 graph.push_vertex(AliveVertex::new(make_vertex(1, 0, 10)));
338
339 let order = OrderResult {
340 sccs: vec![vec![VertexId(1)]],
341 conflict_tree: Default::default(),
342 cyclic_conflicts: 0,
343 forward_edges: Vec::new(),
344 };
345
346 assert!(detect_fork_conflicts(&graph, &order).is_empty());
347 }
348
349 #[test]
350 fn empty_graph() {

Callers

nothing calls this directly

Calls 2

push_vertexMethod · 0.80
make_vertexFunction · 0.70

Tested by

no test coverage detected