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

Function test_builder_full

atomic-core/src/change/provenance_graph/tests.rs:213–224  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

211
212#[test]
213fn test_builder_full() {
214 let graph = sample_graph();
215
216 assert_eq!(graph.session_id, "sess-123");
217 assert_eq!(graph.agent_name, "claude-code");
218 assert_eq!(graph.agent_display_name, "Claude Code");
219 assert_eq!(graph.agent_vendor, "anthropic");
220 assert_eq!(graph.nodes.len(), 5);
221 assert_eq!(graph.edges.len(), 5);
222 assert_eq!(graph.changes_explained.len(), 1);
223 assert!(graph.previous.is_none());
224}
225
226#[test]
227fn test_builder_auto_computes_stats() {

Callers

nothing calls this directly

Calls 1

sample_graphFunction · 0.85

Tested by

no test coverage detected