| 12 | TEST_SUITE_BEGIN("Game_Character_Flash"); |
| 13 | |
| 14 | static void testChar(const Game_Character& ch, Color color, double power, int time_left) { |
| 15 | CAPTURE(color); |
| 16 | CAPTURE(power); |
| 17 | CAPTURE(time_left); |
| 18 | |
| 19 | REQUIRE_EQ(ch.GetFlashColor(), color); |
| 20 | REQUIRE_EQ(ch.GetFlashLevel(), power); |
| 21 | REQUIRE_EQ(ch.GetFlashTimeLeft(), time_left); |
| 22 | } |
| 23 | |
| 24 | static void testFlash(int r, int g, int b, double power, int frames) { |
| 25 | const MockGame mg(MockMap::ePassBlock20x15); |
no test coverage detected