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

Function test_active_recorded_turn_end

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

Source from the content-addressed store, hash-verified

980
981 #[test]
982 fn test_active_recorded_turn_end() {
983 let r = transition(
984 Phase::ActiveRecorded,
985 Event::TurnEnd,
986 TransitionContext::default(),
987 );
988 assert_eq!(r.new_phase, Phase::Idle);
989 assert_eq!(
990 r.actions,
991 vec![Action::RecordTurn, Action::UpdateInteraction]
992 );
993 assert!(r.requires_recording());
994 }
995
996 #[test]
997 fn test_active_recorded_recorded_again() {

Callers

nothing calls this directly

Calls 1

transitionFunction · 0.85

Tested by

no test coverage detected