diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-20 14:51:26 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-20 14:51:26 +0100 |
commit | fb35ca64eee9afdd72f2cf8d279c4e745444baf9 (patch) | |
tree | 8337951f36d18ac7c44efc3abfe8ce3a8ca7889f /src/test/SceneManagerTest.cpp | |
parent | 7e0c99bd2b30500c265370fe71bce3f243a10837 (diff) |
`make format`
Diffstat (limited to 'src/test/SceneManagerTest.cpp')
-rw-r--r-- | src/test/SceneManagerTest.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/test/SceneManagerTest.cpp b/src/test/SceneManagerTest.cpp index 98b2a23..69e1171 100644 --- a/src/test/SceneManagerTest.cpp +++ b/src/test/SceneManagerTest.cpp @@ -1,10 +1,10 @@ #include <crepe/ComponentManager.h> #include <crepe/api/GameObject.h> #include <crepe/api/Metadata.h> -#include <crepe/api/Transform.h> -#include <crepe/api/Vector2.h> #include <crepe/api/Scene.h> #include <crepe/api/SceneManager.h> +#include <crepe/api/Transform.h> +#include <crepe/api/Vector2.h> #include <gtest/gtest.h> using namespace std; @@ -47,8 +47,10 @@ TEST_F(SceneManagerTest, loadScene) { scene_mgr.load_next_scene(); - vector<reference_wrapper<Metadata>> metadata = component_mgr.get_components_by_type<Metadata>(); - vector<reference_wrapper<Transform>> transform = component_mgr.get_components_by_type<Transform>(); + vector<reference_wrapper<Metadata>> metadata + = component_mgr.get_components_by_type<Metadata>(); + vector<reference_wrapper<Transform>> transform + = component_mgr.get_components_by_type<Transform>(); EXPECT_EQ(metadata.size(), 3); EXPECT_EQ(transform.size(), 3); |