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

Function test_dispatch_result_new

atomic-agent/src/turn/orchestrator/tests.rs:162–169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

160
161#[test]
162fn test_dispatch_result_new() {
163 let result = DispatchResult::new("sess-1", Phase::Idle);
164 assert_eq!(result.session_id, "sess-1");
165 assert_eq!(result.new_phase, Phase::Idle);
166 assert!(!result.was_recorded());
167 assert!(result.message.is_none());
168 assert!(result.warnings.is_empty());
169}
170
171#[test]
172fn test_dispatch_result_with_message() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected