()
| 925 | |
| 926 | #[test] |
| 927 | fn test_active_turn_end() { |
| 928 | let r = transition(Phase::Active, Event::TurnEnd, TransitionContext::default()); |
| 929 | assert_eq!(r.new_phase, Phase::Idle); |
| 930 | assert_eq!( |
| 931 | r.actions, |
| 932 | vec![Action::RecordTurn, Action::UpdateInteraction] |
| 933 | ); |
| 934 | assert!(r.requires_recording()); |
| 935 | } |
| 936 | |
| 937 | #[test] |
| 938 | fn test_active_recorded_mid_turn() { |
nothing calls this directly
no test coverage detected