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

Function test_state_machine_accessible

atomic-agent/src/lib.rs:245–249  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

243
244 #[test]
245 fn test_state_machine_accessible() {
246 let result = transition(Phase::Idle, Event::TurnStart, TransitionContext::default());
247 assert_eq!(result.new_phase, Phase::Active);
248 assert!(result.actions.contains(&Action::UpdateInteraction));
249 }
250
251 #[test]
252 fn test_session_envelope_encode_decode() {

Callers

nothing calls this directly

Calls 1

transitionFunction · 0.85

Tested by

no test coverage detected