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

Function test_result_with_record

atomic-agent/src/turn/phase.rs:834–842  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

832
833 #[test]
834 fn test_result_with_record() {
835 let result = TransitionResult::with_actions(
836 Phase::Idle,
837 vec![Action::RecordTurn, Action::UpdateInteraction],
838 );
839 assert!(!result.is_noop());
840 assert!(result.requires_recording());
841 assert_eq!(result.strategy_actions(), vec![Action::RecordTurn]);
842 }
843
844 #[test]
845 fn test_result_display() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected