From ed0171c911d84bf14901d201d7b14e087a78cdc3 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Tue, 28 Apr 2020 16:36:03 +0200 Subject: [PATCH] Style fixes --- tests/BattleTests/ChoiceSetTests.cpp | 2 +- tests/TestLibrary/TestLibrary.hpp | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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