diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-13 12:19:56 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-13 12:19:56 +0100 |
commit | 87c74782e486647c46f9ca4d2f857094006e563c (patch) | |
tree | c8e0b893610cb90d7bd7578c3d076b7e905c822a /src/test/ScriptTest.cpp | |
parent | ec3601fbc17a38a44608a04f53d4e36c1bff8c96 (diff) |
`make format`
Diffstat (limited to 'src/test/ScriptTest.cpp')
-rw-r--r-- | src/test/ScriptTest.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/test/ScriptTest.cpp b/src/test/ScriptTest.cpp index ea49a35..bab9e52 100644 --- a/src/test/ScriptTest.cpp +++ b/src/test/ScriptTest.cpp @@ -5,11 +5,11 @@ #define protected public #include <crepe/ComponentManager.h> -#include <crepe/system/ScriptSystem.h> #include <crepe/api/BehaviorScript.h> -#include <crepe/api/Script.h> #include <crepe/api/GameObject.h> +#include <crepe/api/Script.h> #include <crepe/api/Vector2.h> +#include <crepe/system/ScriptSystem.h> using namespace std; using namespace crepe; @@ -17,8 +17,8 @@ using namespace testing; class ScriptTest : public Test { public: - ComponentManager component_manager {}; - ScriptSystem system { component_manager }; + ComponentManager component_manager{}; + ScriptSystem system{component_manager}; class MyScript : public Script { // NOTE: default (private) visibility of init and update shouldn't cause @@ -70,4 +70,3 @@ TEST_F(ScriptTest, ListScripts) { } ASSERT_EQ(1, script_count); } - |