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

Function test_empty_graph

atomic-agent/src/provenance/consolidate.rs:1169–1176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1167
1168 #[test]
1169 fn test_empty_graph() {
1170 let mut nodes = Vec::new();
1171 let mut edges = Vec::new();
1172 let mut stats = GraphStats::default();
1173
1174 let created = run_consolidate(&mut nodes, &mut edges, &mut stats);
1175 assert_eq!(created, 0);
1176 }
1177
1178 #[test]
1179 fn test_only_goals() {

Callers

nothing calls this directly

Calls 1

run_consolidateFunction · 0.85

Tested by

no test coverage detected