MCPcopy Create free account
hub / github.com/EasyRPG/Player / testPanSpeed

Function testPanSpeed

tests/game_player_pan.cpp:54–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54static void testPanSpeed(int dist, int speed, int wait) {
55 Game_Player ch;
56 ch.StartPan(Game_Player::PanRight, dist, speed);
57 REQUIRE_EQ(ch.GetPanWait(), wait);
58}
59
60TEST_CASE("PanSpeed") {
61 testPanSpeed(1, 1, 64);

Callers 1

Calls 2

StartPanMethod · 0.80
GetPanWaitMethod · 0.80

Tested by

no test coverage detected