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

Function test_state_machine_accessible

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

Source from the content-addressed store, hash-verified

251
252 #[test]
253 fn test_state_machine_accessible() {
254 let result = transition(Phase::Idle, Event::TurnStart, TransitionContext::default());
255 assert_eq!(result.new_phase, Phase::Active);
256 assert!(result.actions.contains(&Action::UpdateInteraction));
257 }
258
259 #[test]
260 fn test_session_envelope_encode_decode() {

Callers

nothing calls this directly

Calls 1

transitionFunction · 0.85

Tested by

no test coverage detected