()
| 287 | |
| 288 | #[test] |
| 289 | fn test_reasoning_display() { |
| 290 | let r = TurnReasoning { |
| 291 | intent: "Fix auth".into(), |
| 292 | outcome: "Fixed".into(), |
| 293 | learnings: Learnings { |
| 294 | repo: vec!["RS256".into()], |
| 295 | code: vec![], |
| 296 | workflow: vec![], |
| 297 | }, |
| 298 | friction: vec![], |
| 299 | open_items: vec![], |
| 300 | }; |
| 301 | let display = r.to_string(); |
| 302 | assert!(display.contains("Intent: Fix auth")); |
| 303 | assert!(display.contains("Outcome: Fixed")); |
| 304 | assert!(display.contains("RS256")); |
| 305 | } |
| 306 | |
| 307 | #[test] |
| 308 | fn test_reasoning_serde_roundtrip() { |
nothing calls this directly
no outgoing calls
no test coverage detected