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

Source from the content-addressed store, hash-verified

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