()
| 980 | |
| 981 | #[test] |
| 982 | fn test_active_recorded_turn_end() { |
| 983 | let r = transition( |
| 984 | Phase::ActiveRecorded, |
| 985 | Event::TurnEnd, |
| 986 | TransitionContext::default(), |
| 987 | ); |
| 988 | assert_eq!(r.new_phase, Phase::Idle); |
| 989 | assert_eq!( |
| 990 | r.actions, |
| 991 | vec![Action::RecordTurn, Action::UpdateInteraction] |
| 992 | ); |
| 993 | assert!(r.requires_recording()); |
| 994 | } |
| 995 | |
| 996 | #[test] |
| 997 | fn test_active_recorded_recorded_again() { |
nothing calls this directly
no test coverage detected