mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 11:44:17 +01:00
temporarily rename test string for easier test runs
This commit is contained in:
parent
ff609f2761
commit
929e4749da
@ -1,7 +1,7 @@
|
|||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "test_battle.h"
|
#include "test_battle.h"
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Paralyze Heal heals a battler from being paralyzed")
|
SINGLE_BATTLE_TEST("Cure Status: Paralyze Heal heals a battler from being paralyzed")
|
||||||
{
|
{
|
||||||
GIVEN {
|
GIVEN {
|
||||||
ASSUME(gItems[ITEM_PARALYZE_HEAL].battleUsage == EFFECT_ITEM_CURE_STATUS);
|
ASSUME(gItems[ITEM_PARALYZE_HEAL].battleUsage == EFFECT_ITEM_CURE_STATUS);
|
||||||
@ -14,7 +14,7 @@ SINGLE_BATTLE_TEST("Paralyze Heal heals a battler from being paralyzed")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Antidote heals a battler from being poisoned")
|
SINGLE_BATTLE_TEST("Cure Status: Antidote heals a battler from being poisoned")
|
||||||
{
|
{
|
||||||
GIVEN {
|
GIVEN {
|
||||||
ASSUME(gItems[ITEM_ANTIDOTE].battleUsage == EFFECT_ITEM_CURE_STATUS);
|
ASSUME(gItems[ITEM_ANTIDOTE].battleUsage == EFFECT_ITEM_CURE_STATUS);
|
||||||
@ -27,7 +27,7 @@ SINGLE_BATTLE_TEST("Antidote heals a battler from being poisoned")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Antidote heals a battler from being badly poisoned")
|
SINGLE_BATTLE_TEST("Cure Status: Antidote heals a battler from being badly poisoned")
|
||||||
{
|
{
|
||||||
GIVEN {
|
GIVEN {
|
||||||
ASSUME(gItems[ITEM_ANTIDOTE].battleUsage == EFFECT_ITEM_CURE_STATUS);
|
ASSUME(gItems[ITEM_ANTIDOTE].battleUsage == EFFECT_ITEM_CURE_STATUS);
|
||||||
@ -40,7 +40,7 @@ SINGLE_BATTLE_TEST("Antidote heals a battler from being badly poisoned")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Awakening heals a battler from being asleep")
|
SINGLE_BATTLE_TEST("Cure Status: Awakening heals a battler from being asleep")
|
||||||
{
|
{
|
||||||
GIVEN {
|
GIVEN {
|
||||||
ASSUME(gItems[ITEM_AWAKENING].battleUsage == EFFECT_ITEM_CURE_STATUS);
|
ASSUME(gItems[ITEM_AWAKENING].battleUsage == EFFECT_ITEM_CURE_STATUS);
|
||||||
@ -53,7 +53,7 @@ SINGLE_BATTLE_TEST("Awakening heals a battler from being asleep")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Burn Heal heals a battler from being burned")
|
SINGLE_BATTLE_TEST("Cure Status: Burn Heal heals a battler from being burned")
|
||||||
{
|
{
|
||||||
GIVEN {
|
GIVEN {
|
||||||
ASSUME(gItems[ITEM_BURN_HEAL].battleUsage == EFFECT_ITEM_CURE_STATUS);
|
ASSUME(gItems[ITEM_BURN_HEAL].battleUsage == EFFECT_ITEM_CURE_STATUS);
|
||||||
@ -66,7 +66,7 @@ SINGLE_BATTLE_TEST("Burn Heal heals a battler from being burned")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Ice Heal heals a battler from being paralyzed")
|
SINGLE_BATTLE_TEST("Cure Status: Ice Heal heals a battler from being paralyzed")
|
||||||
{
|
{
|
||||||
GIVEN {
|
GIVEN {
|
||||||
ASSUME(gItems[ITEM_ICE_HEAL].battleUsage == EFFECT_ITEM_CURE_STATUS);
|
ASSUME(gItems[ITEM_ICE_HEAL].battleUsage == EFFECT_ITEM_CURE_STATUS);
|
||||||
@ -79,7 +79,7 @@ SINGLE_BATTLE_TEST("Ice Heal heals a battler from being paralyzed")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Full Heal heals a battler from any primary status")
|
SINGLE_BATTLE_TEST("Cure Status: Full Heal heals a battler from any primary status")
|
||||||
{
|
{
|
||||||
u16 status;
|
u16 status;
|
||||||
PARAMETRIZE{ status = STATUS1_BURN; }
|
PARAMETRIZE{ status = STATUS1_BURN; }
|
||||||
@ -99,7 +99,7 @@ SINGLE_BATTLE_TEST("Full Heal heals a battler from any primary status")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Pewter Crunchies heals a battler from any primary status")
|
SINGLE_BATTLE_TEST("Cure Status: Pewter Crunchies heals a battler from any primary status")
|
||||||
{
|
{
|
||||||
u16 status;
|
u16 status;
|
||||||
PARAMETRIZE{ status = STATUS1_BURN; }
|
PARAMETRIZE{ status = STATUS1_BURN; }
|
||||||
@ -119,7 +119,7 @@ SINGLE_BATTLE_TEST("Pewter Crunchies heals a battler from any primary status")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Lava Cookies heals a battler from any primary status")
|
SINGLE_BATTLE_TEST("Cure Status: Lava Cookies heals a battler from any primary status")
|
||||||
{
|
{
|
||||||
u16 status;
|
u16 status;
|
||||||
PARAMETRIZE{ status = STATUS1_BURN; }
|
PARAMETRIZE{ status = STATUS1_BURN; }
|
||||||
@ -139,7 +139,7 @@ SINGLE_BATTLE_TEST("Lava Cookies heals a battler from any primary status")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Rage Candy Bar heals a battler from any primary status")
|
SINGLE_BATTLE_TEST("Cure Status: Rage Candy Bar heals a battler from any primary status")
|
||||||
{
|
{
|
||||||
u16 status;
|
u16 status;
|
||||||
PARAMETRIZE{ status = STATUS1_BURN; }
|
PARAMETRIZE{ status = STATUS1_BURN; }
|
||||||
@ -159,7 +159,7 @@ SINGLE_BATTLE_TEST("Rage Candy Bar heals a battler from any primary status")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Old Gateu heals a battler from any primary status")
|
SINGLE_BATTLE_TEST("Cure Status: Old Gateu heals a battler from any primary status")
|
||||||
{
|
{
|
||||||
u16 status;
|
u16 status;
|
||||||
PARAMETRIZE{ status = STATUS1_BURN; }
|
PARAMETRIZE{ status = STATUS1_BURN; }
|
||||||
@ -179,7 +179,7 @@ SINGLE_BATTLE_TEST("Old Gateu heals a battler from any primary status")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Casteliacone heals a battler from any primary status")
|
SINGLE_BATTLE_TEST("Cure Status: Casteliacone heals a battler from any primary status")
|
||||||
{
|
{
|
||||||
u16 status;
|
u16 status;
|
||||||
PARAMETRIZE{ status = STATUS1_BURN; }
|
PARAMETRIZE{ status = STATUS1_BURN; }
|
||||||
@ -199,7 +199,7 @@ SINGLE_BATTLE_TEST("Casteliacone heals a battler from any primary status")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Lumiose Galette heals a battler from any primary status")
|
SINGLE_BATTLE_TEST("Cure Status: Lumiose Galette heals a battler from any primary status")
|
||||||
{
|
{
|
||||||
u16 status;
|
u16 status;
|
||||||
PARAMETRIZE{ status = STATUS1_BURN; }
|
PARAMETRIZE{ status = STATUS1_BURN; }
|
||||||
@ -219,7 +219,7 @@ SINGLE_BATTLE_TEST("Lumiose Galette heals a battler from any primary status")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Shalour Sable heals a battler from any primary status")
|
SINGLE_BATTLE_TEST("Cure Status: Shalour Sable heals a battler from any primary status")
|
||||||
{
|
{
|
||||||
u16 status;
|
u16 status;
|
||||||
PARAMETRIZE{ status = STATUS1_BURN; }
|
PARAMETRIZE{ status = STATUS1_BURN; }
|
||||||
@ -239,7 +239,7 @@ SINGLE_BATTLE_TEST("Shalour Sable heals a battler from any primary status")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Big Malasada heals a battler from any primary status")
|
SINGLE_BATTLE_TEST("Cure Status: Big Malasada heals a battler from any primary status")
|
||||||
{
|
{
|
||||||
u16 status;
|
u16 status;
|
||||||
PARAMETRIZE{ status = STATUS1_BURN; }
|
PARAMETRIZE{ status = STATUS1_BURN; }
|
||||||
@ -259,7 +259,7 @@ SINGLE_BATTLE_TEST("Big Malasada heals a battler from any primary status")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Full Heal and local specialties heal a battler from being confused")
|
SINGLE_BATTLE_TEST("Cure Status: Full Heal and local specialties heal a battler from being confused")
|
||||||
{
|
{
|
||||||
u16 item;
|
u16 item;
|
||||||
PARAMETRIZE { item = ITEM_FULL_HEAL; }
|
PARAMETRIZE { item = ITEM_FULL_HEAL; }
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "test_battle.h"
|
#include "test_battle.h"
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Potion restores a battler's HP by 20")
|
SINGLE_BATTLE_TEST("Restore HP: Potion restores a battler's HP by 20")
|
||||||
{
|
{
|
||||||
s16 damage;
|
s16 damage;
|
||||||
GIVEN {
|
GIVEN {
|
||||||
@ -17,7 +17,7 @@ SINGLE_BATTLE_TEST("Potion restores a battler's HP by 20")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Super Potion restores a battler's HP by 50")
|
SINGLE_BATTLE_TEST("Restore HP: Super Potion restores a battler's HP by 50")
|
||||||
{
|
{
|
||||||
s16 damage;
|
s16 damage;
|
||||||
GIVEN {
|
GIVEN {
|
||||||
@ -33,7 +33,7 @@ SINGLE_BATTLE_TEST("Super Potion restores a battler's HP by 50")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Hyper Potion restores a battler's HP by 200")
|
SINGLE_BATTLE_TEST("Restore HP: Hyper Potion restores a battler's HP by 200")
|
||||||
{
|
{
|
||||||
s16 damage;
|
s16 damage;
|
||||||
GIVEN {
|
GIVEN {
|
||||||
@ -49,7 +49,7 @@ SINGLE_BATTLE_TEST("Hyper Potion restores a battler's HP by 200")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Max Potion restores a battler's HP fully")
|
SINGLE_BATTLE_TEST("Restore HP: Max Potion restores a battler's HP fully")
|
||||||
{
|
{
|
||||||
s16 damage;
|
s16 damage;
|
||||||
GIVEN {
|
GIVEN {
|
||||||
@ -63,7 +63,7 @@ SINGLE_BATTLE_TEST("Max Potion restores a battler's HP fully")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Fresh Water restores a battler's HP by 30")
|
SINGLE_BATTLE_TEST("Restore HP: Fresh Water restores a battler's HP by 30")
|
||||||
{
|
{
|
||||||
s16 damage;
|
s16 damage;
|
||||||
GIVEN {
|
GIVEN {
|
||||||
@ -79,7 +79,7 @@ SINGLE_BATTLE_TEST("Fresh Water restores a battler's HP by 30")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Soda Pop restores a battler's HP by 50")
|
SINGLE_BATTLE_TEST("Restore HP: Soda Pop restores a battler's HP by 50")
|
||||||
{
|
{
|
||||||
s16 damage;
|
s16 damage;
|
||||||
GIVEN {
|
GIVEN {
|
||||||
@ -95,7 +95,7 @@ SINGLE_BATTLE_TEST("Soda Pop restores a battler's HP by 50")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Lemonade restores a battler's HP by 70")
|
SINGLE_BATTLE_TEST("Restore HP: Lemonade restores a battler's HP by 70")
|
||||||
{
|
{
|
||||||
s16 damage;
|
s16 damage;
|
||||||
GIVEN {
|
GIVEN {
|
||||||
@ -111,7 +111,7 @@ SINGLE_BATTLE_TEST("Lemonade restores a battler's HP by 70")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Moomoo Milk restores a battler's HP by 100")
|
SINGLE_BATTLE_TEST("Restore HP: Moomoo Milk restores a battler's HP by 100")
|
||||||
{
|
{
|
||||||
s16 damage;
|
s16 damage;
|
||||||
GIVEN {
|
GIVEN {
|
||||||
@ -127,7 +127,7 @@ SINGLE_BATTLE_TEST("Moomoo Milk restores a battler's HP by 100")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Energy Powder restores a battler's HP by 50(60)")
|
SINGLE_BATTLE_TEST("Restore HP: Energy Powder restores a battler's HP by 60(50)")
|
||||||
{
|
{
|
||||||
s16 damage;
|
s16 damage;
|
||||||
GIVEN {
|
GIVEN {
|
||||||
@ -147,7 +147,7 @@ SINGLE_BATTLE_TEST("Energy Powder restores a battler's HP by 50(60)")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Energy Root restores a battler's HP by 120(200)")
|
SINGLE_BATTLE_TEST("Restore HP: Energy Root restores a battler's HP by 120(200)")
|
||||||
{
|
{
|
||||||
s16 damage;
|
s16 damage;
|
||||||
GIVEN {
|
GIVEN {
|
||||||
@ -167,7 +167,7 @@ SINGLE_BATTLE_TEST("Energy Root restores a battler's HP by 120(200)")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Sweet Heart restores a battler's HP by 20")
|
SINGLE_BATTLE_TEST("Restore HP: Sweet Heart restores a battler's HP by 20")
|
||||||
{
|
{
|
||||||
s16 damage;
|
s16 damage;
|
||||||
GIVEN {
|
GIVEN {
|
||||||
@ -183,7 +183,7 @@ SINGLE_BATTLE_TEST("Sweet Heart restores a battler's HP by 20")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Oran Berry restores a battler's HP by 10")
|
SINGLE_BATTLE_TEST("Restore HP: Oran Berry restores a battler's HP by 10")
|
||||||
{
|
{
|
||||||
s16 damage;
|
s16 damage;
|
||||||
GIVEN {
|
GIVEN {
|
||||||
@ -199,7 +199,7 @@ SINGLE_BATTLE_TEST("Oran Berry restores a battler's HP by 10")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Sitrus Berry restores a battler's HP")
|
SINGLE_BATTLE_TEST("Restore HP: Sitrus Berry restores a battler's HP")
|
||||||
{
|
{
|
||||||
s16 damage;
|
s16 damage;
|
||||||
GIVEN {
|
GIVEN {
|
||||||
|
Loading…
Reference in New Issue
Block a user