Use GetPkmnSpecies instead of GetSpecies
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2019-12-31 13:51:42 +01:00
parent e502c950e8
commit d3e74aeee9
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ TEST_CASE("Able to insert and retrieve from library", "library") {
CreatureLib::Core::StatisticSet<uint16_t>(100, 100, 100, 100, 100, 100), {"testAbility"}, CreatureLib::Core::StatisticSet<uint16_t>(100, 100, 100, 100, 100, 100), {"testAbility"},
{"testHiddenAbility"}, new CreatureLib::Library::LearnableAttacks(100)), {"testHiddenAbility"}, new CreatureLib::Library::LearnableAttacks(100)),
0.5f, "testGrowthRate", 100, 100)); 0.5f, "testGrowthRate", 100, 100));
auto val = lib->GetSpecies("foo"); auto val = lib->GetPkmnSpecies("foo");
REQUIRE(val->GetName() == "foo"); REQUIRE(val->GetName() == "foo");
delete lib; delete lib;
} }