Removes some variables that are better handled in implementations.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -38,30 +38,4 @@ TEST_CASE("Get creature nickname when unset", "[Library]") {
|
||||
delete creature;
|
||||
}
|
||||
|
||||
TEST_CASE("Get creature stat potentials when unset", "[Library]") {
|
||||
auto library = TestLibrary::Get();
|
||||
auto creature = CreateCreature(library, "testSpecies1", 1).Create();
|
||||
auto potentials = creature->GetStatPotential();
|
||||
REQUIRE(potentials.GetHealth() == 0);
|
||||
REQUIRE(potentials.GetPhysicalAttack() == 0);
|
||||
REQUIRE(potentials.GetPhysicalDefense() == 0);
|
||||
REQUIRE(potentials.GetMagicalAttack() == 0);
|
||||
REQUIRE(potentials.GetMagicalDefense() == 0);
|
||||
REQUIRE(potentials.GetSpeed() == 0);
|
||||
delete creature;
|
||||
}
|
||||
|
||||
TEST_CASE("Get creature stat experience when unset", "[Library]") {
|
||||
auto library = TestLibrary::Get();
|
||||
auto creature = CreateCreature(library, "testSpecies1", 1).Create();
|
||||
auto experiences = creature->GetStatExperience();
|
||||
REQUIRE(experiences.GetHealth() == 0);
|
||||
REQUIRE(experiences.GetPhysicalAttack() == 0);
|
||||
REQUIRE(experiences.GetPhysicalDefense() == 0);
|
||||
REQUIRE(experiences.GetMagicalAttack() == 0);
|
||||
REQUIRE(experiences.GetMagicalDefense() == 0);
|
||||
REQUIRE(experiences.GetSpeed() == 0);
|
||||
delete creature;
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user