()
| 185 | |
| 186 | #[test] |
| 187 | fn 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] |
| 201 | fn test_builder_auto_computes_stats() { |
nothing calls this directly
no test coverage detected