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

Function test_result_display

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

Source from the content-addressed store, hash-verified

843
844 #[test]
845 fn test_result_display() {
846 let result = TransitionResult::noop(Phase::Idle);
847 assert_eq!(result.to_string(), "idle");
848
849 let result = TransitionResult::with_actions(
850 Phase::Active,
851 vec![Action::UpdateInteraction, Action::WarnStaleSession],
852 );
853 assert_eq!(
854 result.to_string(),
855 "active [update_interaction, warn_stale_session]"
856 );
857 }
858
859 // Transition: from Idle
860

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected