diff --git a/tests/BattleTests/ChoiceSetTests.cpp b/tests/BattleTests/ChoiceSetTests.cpp index 2c1d7b5..79274bd 100644 --- a/tests/BattleTests/ChoiceSetTests.cpp +++ b/tests/BattleTests/ChoiceSetTests.cpp @@ -1,10 +1,10 @@ #ifdef TESTS_BUILD #include "../../extern/catch.hpp" -#include "../TestLibrary/TestLibrary.hpp" #include "../../src/Battling/Models/BattleSide.hpp" #include "../../src/Battling/Models/CreateCreature.hpp" #include "../../src/Battling/TurnChoices/PassTurnChoice.hpp" +#include "../TestLibrary/TestLibrary.hpp" using namespace CreatureLib::Battling; diff --git a/tests/TestLibrary/TestLibrary.hpp b/tests/TestLibrary/TestLibrary.hpp index 3df5240..d54e6c8 100644 --- a/tests/TestLibrary/TestLibrary.hpp +++ b/tests/TestLibrary/TestLibrary.hpp @@ -8,8 +8,9 @@ using namespace CreatureLib::Library; using namespace CreatureLib::Battling; -class TestLibrary{ +class TestLibrary { static BattleLibrary* _library; + public: static SpeciesLibrary* BuildSpeciesLibrary(); static AttackLibrary* BuildAttackLibrary(); @@ -20,4 +21,4 @@ public: static BattleLibrary* Get(); }; -#endif //CREATURELIB_TESTLIBRARY_HPP +#endif // CREATURELIB_TESTLIBRARY_HPP