()
| 1071 | |
| 1072 | #[test] |
| 1073 | fn test_ended_session_start_reenter() { |
| 1074 | let r = transition( |
| 1075 | Phase::Ended, |
| 1076 | Event::SessionStart, |
| 1077 | TransitionContext::default(), |
| 1078 | ); |
| 1079 | assert_eq!(r.new_phase, Phase::Idle); |
| 1080 | assert_eq!(r.actions, vec![Action::ClearEndedAt]); |
| 1081 | } |
| 1082 | |
| 1083 | #[test] |
| 1084 | fn test_ended_session_stop_noop() { |
nothing calls this directly
no test coverage detected