Updates CreatureLib, implements ConstStrings.
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:
@@ -5,13 +5,13 @@
|
||||
|
||||
TEST_CASE("Create and delete Pokemon"){
|
||||
auto lib = TestLibrary::GetLibrary();
|
||||
auto mon = PkmnLib::Battling::CreatePokemon(lib, "testSpecies", 1).Build();
|
||||
auto mon = PkmnLib::Battling::CreatePokemon(lib, "testSpecies"_cnc, 1).Build();
|
||||
delete mon;
|
||||
}
|
||||
|
||||
TEST_CASE("Get Nature from Pokemon"){
|
||||
auto lib = TestLibrary::GetLibrary();
|
||||
auto mon = PkmnLib::Battling::CreatePokemon(lib, "testSpecies", 1)
|
||||
auto mon = PkmnLib::Battling::CreatePokemon(lib, "testSpecies"_cnc, 1)
|
||||
.WithNature("neutralNature")
|
||||
->Build();
|
||||
auto nature = mon->GetNature();
|
||||
|
||||
Reference in New Issue
Block a user