()
| 1352 | |
| 1353 | #[test] |
| 1354 | fn test_apply_common_clears_ended_at() { |
| 1355 | let mut session = MockSession::new(); |
| 1356 | let result = TransitionResult::with_actions( |
| 1357 | Phase::Idle, |
| 1358 | vec![Action::ClearEndedAt, Action::UpdateInteraction], |
| 1359 | ); |
| 1360 | |
| 1361 | apply_common_actions(&mut session, &result); |
| 1362 | |
| 1363 | assert!(session.ended_at_cleared.get()); |
| 1364 | assert!(session.interaction_touched.get()); |
| 1365 | } |
| 1366 | |
| 1367 | #[test] |
| 1368 | fn test_apply_common_returns_strategy_actions() { |
nothing calls this directly
no test coverage detected