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

Function test_ended_session_start_reenter

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

Source from the content-addressed store, hash-verified

1071
1072 #[test]
1073 fn test_ended_session_start_reenter() {
1074 let r = transition(
1075 Phase::Ended,
1076 Event::SessionStart,
1077 TransitionContext::default(),
1078 );
1079 assert_eq!(r.new_phase, Phase::Idle);
1080 assert_eq!(r.actions, vec![Action::ClearEndedAt]);
1081 }
1082
1083 #[test]
1084 fn test_ended_session_stop_noop() {

Callers

nothing calls this directly

Calls 1

transitionFunction · 0.85

Tested by

no test coverage detected