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

Function test_ended_turn_start_reenter

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

Source from the content-addressed store, hash-verified

1030
1031 #[test]
1032 fn test_ended_turn_start_reenter() {
1033 let r = transition(Phase::Ended, Event::TurnStart, TransitionContext::default());
1034 assert_eq!(r.new_phase, Phase::Active);
1035 assert_eq!(
1036 r.actions,
1037 vec![Action::ClearEndedAt, Action::UpdateInteraction]
1038 );
1039 }
1040
1041 #[test]
1042 fn test_ended_turn_end_noop() {

Callers

nothing calls this directly

Calls 1

transitionFunction · 0.85

Tested by

no test coverage detected