12 lines
339 B
C++
12 lines
339 B
C++
#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 |