C Interface for PokemonSpecies
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-04-16 15:04:53 +02:00
parent c11da2d966
commit 8344f33e95
3 changed files with 37 additions and 9 deletions

View File

@@ -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);