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

Function empty_graph

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

Source from the content-addressed store, hash-verified

398
399 #[test]
400 fn empty_graph() {
401 let graph = AliveGraph::new();
402 let order = OrderResult {
403 sccs: Vec::new(),
404 conflict_tree: Default::default(),
405 cyclic_conflicts: 0,
406 forward_edges: Vec::new(),
407 };
408
409 assert!(detect_fork_conflicts(&graph, &order).unwrap().is_empty());
410 }
411
412 #[test]
413 fn missing_order_vertex_is_inconsistent() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected