Reworks nature library to be simpler.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -12,7 +12,7 @@ TEST_CASE("Create and delete Pokemon"){
|
||||
TEST_CASE("Get Nature from Pokemon"){
|
||||
auto lib = TestLibrary::GetLibrary();
|
||||
auto mon = PkmnLib::Battling::CreatePokemon(lib, "testSpecies"_cnc, 1)
|
||||
.WithNature("neutralNature")
|
||||
.WithNature("neutralNature"_cnc)
|
||||
->Build();
|
||||
auto nature = mon->GetNature();
|
||||
REQUIRE(nature.GetDecreaseModifier() == 1);
|
||||
|
||||
Reference in New Issue
Block a user