C Interface for PokemonSpecies
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:
@@ -146,7 +146,7 @@ TEST_CASE("Able to set and get evolution", "library") {
|
||||
|
||||
species->AddEvolution(PkmnLib::Library::EvolutionData::CreateLevelEvolution(16, species2));
|
||||
auto evolutions = species->GetEvolutions();
|
||||
REQUIRE(evolutions.size() == 1);
|
||||
REQUIRE(evolutions.Count() == 1);
|
||||
auto evo = evolutions[0];
|
||||
CHECK(evo->GetMethod() == PkmnLib::Library::EvolutionMethod::Level);
|
||||
CHECK(evo->GetNewSpecies() == species2);
|
||||
|
||||
Reference in New Issue
Block a user