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

Function test_compute_order_empty_graph

atomic-core/src/output/alive/order.rs:786–792  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

784
785 #[test]
786 fn test_compute_order_empty_graph() {
787 let mut graph = AliveGraph::new();
788 let result = compute_order(&mut graph);
789
790 assert!(result.sccs.is_empty());
791 assert!(!result.has_conflicts());
792 }
793
794 #[test]
795 fn test_compute_order_single_vertex() {

Callers

nothing calls this directly

Calls 1

compute_orderFunction · 0.85

Tested by

no test coverage detected