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

Function test_builder_full

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

Source from the content-addressed store, hash-verified

185
186#[test]
187fn test_builder_full() {
188 let graph = sample_graph();
189
190 assert_eq!(graph.session_id, "sess-123");
191 assert_eq!(graph.agent_name, "claude-code");
192 assert_eq!(graph.agent_display_name, "Claude Code");
193 assert_eq!(graph.agent_vendor, "anthropic");
194 assert_eq!(graph.nodes.len(), 5);
195 assert_eq!(graph.edges.len(), 5);
196 assert_eq!(graph.changes_explained.len(), 1);
197 assert!(graph.previous.is_none());
198}
199
200#[test]
201fn test_builder_auto_computes_stats() {

Callers

nothing calls this directly

Calls 1

sample_graphFunction · 0.85

Tested by

no test coverage detected