aboutsummaryrefslogtreecommitdiff
path: root/src/test/ScriptTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ScriptTest.cpp')
-rw-r--r--src/test/ScriptTest.cpp9
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);
}
-