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:1744–1748  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1742
1743 #[test]
1744 fn test_session_state_set_phase() {
1745 let mut s = make_session();
1746 s.set_phase(Phase::Active);
1747 assert_eq!(s.phase, Phase::Active);
1748 }
1749
1750 #[test]
1751 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