| 162 | } |
| 163 | |
| 164 | static void testJumping(AnimType at, int speed) { |
| 165 | const MockGame mg(map_id); |
| 166 | |
| 167 | auto& ch = GetEvent(at, speed); |
| 168 | |
| 169 | CAPTURE(at); |
| 170 | CAPTURE(speed); |
| 171 | |
| 172 | // When event is jumping |
| 173 | if (at == lcf::rpg::EventPage::AnimType_spin) { |
| 174 | // Continues spinning even when jumping |
| 175 | testAnimSpin(ch, false, true); |
| 176 | } else { |
| 177 | testAnimJump(ch); |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | static void testMoving(AnimType at, int speed) { |
| 182 | const MockGame mg(map_id); |
no test coverage detected