Started working on getting Battling side done.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-01-02 18:02:40 +01:00
parent 5dc6695f9e
commit 800147c339
13 changed files with 243 additions and 8 deletions

View File

@@ -0,0 +1,12 @@
#ifdef TESTS_BUILD
#include "../../extern/catch.hpp"
#include "../../src/Battling/Pokemon/CreatePokemon.hpp"
#include "../TestLibrary/TestLibrary.hpp"
TEST_CASE("Create and delete Pokemon"){
auto lib = TestLibrary::GetLibrary();
auto mon = PkmnLib::Battling::CreatePokemon(lib, "testSpecies", 1).Build();
delete mon;
}
#endif