| 85 | } |
| 86 | |
| 87 | static void testBaseLimits(Game_Actor& actor, int hp, int sp, int base) { |
| 88 | REQUIRE_EQ(actor.GetBaseMaxHp(), hp); |
| 89 | REQUIRE_EQ(actor.GetMaxHp(), hp); |
| 90 | REQUIRE_EQ(actor.GetBaseMaxSp(), sp); |
| 91 | REQUIRE_EQ(actor.GetMaxSp(), sp); |
| 92 | REQUIRE_EQ(actor.GetBaseAtk(), base); |
| 93 | REQUIRE_EQ(actor.GetAtk(), base); |
| 94 | REQUIRE_EQ(actor.GetBaseDef(), base); |
| 95 | REQUIRE_EQ(actor.GetDef(), base); |
| 96 | REQUIRE_EQ(actor.GetBaseSpi(), base); |
| 97 | REQUIRE_EQ(actor.GetSpi(), base); |
| 98 | REQUIRE_EQ(actor.GetBaseAgi(), base); |
| 99 | REQUIRE_EQ(actor.GetAgi(), base); |
| 100 | } |
| 101 | |
| 102 | static void testModBaseLimits(Game_Actor& actor, int hp, int base) { |
| 103 | REQUIRE_EQ(actor.GetMaxHpMod(), hp); |
no test coverage detected