aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ECSTest.cpp1
-rw-r--r--src/test/ScriptECSTest.cpp5
-rw-r--r--src/test/ScriptSceneTest.cpp1
-rw-r--r--src/test/ScriptTest.cpp1
4 files changed, 2 insertions, 6 deletions
diff --git a/src/test/ECSTest.cpp b/src/test/ECSTest.cpp
index ed5341e..af2b7b0 100644
--- a/src/test/ECSTest.cpp
+++ b/src/test/ECSTest.cpp
@@ -466,4 +466,3 @@ TEST_F(ECSTest, ComponentsByTag) {
EXPECT_EQ(objects.size(), 3);
}
}
-
diff --git a/src/test/ScriptECSTest.cpp b/src/test/ScriptECSTest.cpp
index 4477e55..1ec33ba 100644
--- a/src/test/ScriptECSTest.cpp
+++ b/src/test/ScriptECSTest.cpp
@@ -4,8 +4,8 @@
#include <crepe/api/BehaviorScript.h>
#include <crepe/api/GameObject.h>
-#include <crepe/api/Script.h>
#include <crepe/api/Metadata.h>
+#include <crepe/api/Script.h>
#include <crepe/manager/ComponentManager.h>
#include <crepe/system/ScriptSystem.h>
@@ -32,8 +32,7 @@ TEST_F(ScriptECSTest, GetOwnComponent) {
TEST_F(ScriptECSTest, GetOwnComponents) {
const unsigned COUNT = 4;
- for (unsigned i = 0; i < COUNT; i++)
- entity.add_component<TestComponent>();
+ for (unsigned i = 0; i < COUNT; i++) entity.add_component<TestComponent>();
MyScript & script = this->script;
RefVector<TestComponent> components = script.get_components<TestComponent>();
diff --git a/src/test/ScriptSceneTest.cpp b/src/test/ScriptSceneTest.cpp
index 8e849c1..2568049 100644
--- a/src/test/ScriptSceneTest.cpp
+++ b/src/test/ScriptSceneTest.cpp
@@ -28,4 +28,3 @@ TEST_F(ScriptSceneTest, Default) {
script.set_next_scene(non_default_value);
EXPECT_EQ(non_default_value, scene_manager.next_scene);
}
-
diff --git a/src/test/ScriptTest.cpp b/src/test/ScriptTest.cpp
index b0b2546..acdae70 100644
--- a/src/test/ScriptTest.cpp
+++ b/src/test/ScriptTest.cpp
@@ -73,4 +73,3 @@ TEST_F(ScriptTest, UpdateInactive) {
system.update();
}
}
-