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

Function test_state_machine_accessible

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

transitionFunction · 0.85

Tested by

no test coverage detected