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

Function test_idle_recorded

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

Source from the content-addressed store, hash-verified

880
881 #[test]
882 fn test_idle_recorded() {
883 let r = transition(Phase::Idle, Event::Recorded, TransitionContext::default());
884 assert_eq!(r.new_phase, Phase::Idle);
885 assert_eq!(
886 r.actions,
887 vec![Action::RecordTurn, Action::UpdateInteraction]
888 );
889 }
890
891 #[test]
892 fn test_idle_session_start() {

Callers

nothing calls this directly

Calls 1

transitionFunction · 0.85

Tested by

no test coverage detected