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:1004–1010  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1002
1003 #[test]
1004 fn test_compute_order_empty_graph() {
1005 let mut graph = AliveGraph::new();
1006 let result = compute_order(&mut graph);
1007
1008 assert!(result.sccs.is_empty());
1009 assert!(!result.has_conflicts());
1010 }
1011
1012 #[test]
1013 fn test_compute_order_single_vertex() {

Callers

nothing calls this directly

Calls 1

compute_orderFunction · 0.85

Tested by

no test coverage detected