From e20263f4c6b4c354baa301b21a6ac1fb0a7d5848 Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Wed, 18 Dec 2024 14:44:01 +0100 Subject: make format --- src/test/InputTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/test') diff --git a/src/test/InputTest.cpp b/src/test/InputTest.cpp index a7b1b25..975dbd6 100644 --- a/src/test/InputTest.cpp +++ b/src/test/InputTest.cpp @@ -38,6 +38,7 @@ public: EventManager event_manager{mediator}; //GameObject camera; int offset = 100; + protected: void SetUp() override { GameObject obj = mgr.new_object("camera", "camera", vec2{offset, offset}, 0, 1); @@ -216,7 +217,7 @@ TEST_F(InputTest, testButtonClick) { bool button_clicked = false; std::function on_click = [&]() { button_clicked = true; }; auto & button = button_obj.add_component