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

Function test_idle_turn_start

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

Source from the content-addressed store, hash-verified

860
861 #[test]
862 fn test_idle_turn_start() {
863 let r = transition(Phase::Idle, Event::TurnStart, TransitionContext::default());
864 assert_eq!(r.new_phase, Phase::Active);
865 assert_eq!(r.actions, vec![Action::UpdateInteraction]);
866 }
867
868 #[test]
869 fn test_idle_turn_end() {

Callers

nothing calls this directly

Calls 1

transitionFunction · 0.85

Tested by

no test coverage detected