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

Function test_reasoning_display

atomic-agent/src/transcript/tests.rs:289–305  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

287
288#[test]
289fn 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]
308fn test_reasoning_serde_roundtrip() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected