Better naming for 2-5hit moves tests (as they're in global namespace)

This commit is contained in:
Deukhoofd 2021-08-28 12:32:23 +02:00
parent e54c7bd02b
commit 8cc3b2c478
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 12 additions and 12 deletions

View File

@ -27,7 +27,7 @@ namespace Gen7 {
#if TESTS #if TESTS
void RunHits(uint seed, uint8 expectedHits){ void MultiHitMove_TestHits(uint seed, uint8 expectedHits){
auto battle = CreateSimpleBattle(seed, "charizard", "venusaur", 100); auto battle = CreateSimpleBattle(seed, "charizard", "venusaur", 100);
auto mon1 = battle.GetBattleSide(0).GetPokemon(0); auto mon1 = battle.GetBattleSide(0).GetPokemon(0);
@ -40,17 +40,17 @@ void RunHits(uint seed, uint8 expectedHits){
[Test name="2-5 Hit Move"] [Test name="2-5 Hit Move"]
void MultiHitMove_HasMultiHits(){ void MultiHitMove_HasMultiHits(){
RunHits(684, 3); MultiHitMove_TestHits(684, 3);
RunHits(78216, 4); MultiHitMove_TestHits(78216, 4);
RunHits(123640, 3); MultiHitMove_TestHits(123640, 3);
RunHits(280282, 2); MultiHitMove_TestHits(280282, 2);
RunHits(353353, 3); MultiHitMove_TestHits(353353, 3);
RunHits(388667, 2); MultiHitMove_TestHits(388667, 2);
RunHits(436269, 2); MultiHitMove_TestHits(436269, 2);
RunHits(784419, 5); MultiHitMove_TestHits(784419, 5);
RunHits(800144, 2); MultiHitMove_TestHits(800144, 2);
RunHits(901811, 5); MultiHitMove_TestHits(901811, 5);
RunHits(992841, 4); MultiHitMove_TestHits(992841, 4);
} }
#endif #endif