diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-22 14:43:39 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-22 14:43:39 +0100 |
commit | 4117d1d287f1d87efd0577d56819520e981a7f1c (patch) | |
tree | edb8ed80a8a5ebfb8a8379ddc0ae5c379f680ec1 /src/test/ECSTest.cpp | |
parent | 90f793932e40b2e1328c513a91830acb1a720f26 (diff) |
`make format`
Diffstat (limited to 'src/test/ECSTest.cpp')
-rw-r--r-- | src/test/ECSTest.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/test/ECSTest.cpp b/src/test/ECSTest.cpp index b552581..80b936b 100644 --- a/src/test/ECSTest.cpp +++ b/src/test/ECSTest.cpp @@ -188,13 +188,10 @@ TEST_F(ECSTest, tooMuchComponents) { TEST_F(ECSTest, partentChild) { { GameObject body = mgr.new_object("body", "person", vec2{0, 0}, 0, 1); - GameObject right_leg - = mgr.new_object("rightLeg", "person", vec2{1, 1}, 0, 1); + GameObject right_leg = mgr.new_object("rightLeg", "person", vec2{1, 1}, 0, 1); GameObject left_leg = mgr.new_object("leftLeg", "person", vec2{1, 1}, 0, 1); - GameObject right_foot - = mgr.new_object("rightFoot", "person", vec2{2, 2}, 0, 1); - GameObject left_foot - = mgr.new_object("leftFoot", "person", vec2{2, 2}, 0, 1); + GameObject right_foot = mgr.new_object("rightFoot", "person", vec2{2, 2}, 0, 1); + GameObject left_foot = mgr.new_object("leftFoot", "person", vec2{2, 2}, 0, 1); // Set the parent of each GameObject right_foot.set_parent(right_leg); |