()
| 211 | |
| 212 | #[test] |
| 213 | fn 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] |
| 227 | fn test_builder_auto_computes_stats() { |
nothing calls this directly
no test coverage detected