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

Function test_session_state_set_phase

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

Source from the content-addressed store, hash-verified

894
895 #[test]
896 fn test_session_state_set_phase() {
897 let mut s = make_session();
898 s.set_phase(Phase::Active);
899 assert_eq!(s.phase, Phase::Active);
900 }
901
902 #[test]
903 fn test_session_state_set_phase_ended_sets_ended_at() {

Callers

nothing calls this directly

Calls 2

make_sessionFunction · 0.70
set_phaseMethod · 0.45

Tested by

no test coverage detected