diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-16 21:22:35 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-16 21:22:35 +0100 |
commit | 5bece30f9ad495a0e82097b2c5668e979856fb69 (patch) | |
tree | 82d897004f17dfe06f6453ebc9f244ed0d4d53a7 /src/test/CollisionTest.cpp | |
parent | ea7beae5974838b6e1727c539b0899ad157bc1fb (diff) |
make format
Diffstat (limited to 'src/test/CollisionTest.cpp')
-rw-r--r-- | src/test/CollisionTest.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/CollisionTest.cpp b/src/test/CollisionTest.cpp index 43bf77d..3cb7f33 100644 --- a/src/test/CollisionTest.cpp +++ b/src/test/CollisionTest.cpp @@ -290,9 +290,8 @@ TEST_F(CollisionTest, collision_box_box_static_both) { EXPECT_EQ(ev.info.resolution.y, 10); EXPECT_EQ(ev.info.resolution_direction, crepe::CollisionSystem::Direction::BOTH); }; - script_object2_ref->test_fn = [&collision_happend](const CollisionEvent & ev) { - collision_happend = true; - }; + script_object2_ref->test_fn + = [&collision_happend](const CollisionEvent & ev) { collision_happend = true; }; EXPECT_FALSE(collision_happend); Transform & tf = this->mgr.get_components_by_id<Transform>(1).front().get(); tf.position = {50, 30}; |