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

Function test_idle_session_start

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

Source from the content-addressed store, hash-verified

890
891 #[test]
892 fn test_idle_session_start() {
893 let r = transition(
894 Phase::Idle,
895 Event::SessionStart,
896 TransitionContext::default(),
897 );
898 assert_eq!(r.new_phase, Phase::Idle);
899 assert!(r.is_noop());
900 }
901
902 #[test]
903 fn test_idle_session_stop() {

Callers

nothing calls this directly

Calls 1

transitionFunction · 0.85

Tested by

no test coverage detected