From 66fdcffaddb0ab31d12b6b1d7892a8edaa31af65 Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Wed, 4 Dec 2024 20:13:09 +0100 Subject: make format --- src/test/InputTest.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/test/InputTest.cpp') diff --git a/src/test/InputTest.cpp b/src/test/InputTest.cpp index f7d1059..f9b2fe7 100644 --- a/src/test/InputTest.cpp +++ b/src/test/InputTest.cpp @@ -119,8 +119,8 @@ TEST_F(InputTest, MouseMove) { function_triggered = true; EXPECT_EQ(e.mouse_x, 0); EXPECT_EQ(e.mouse_y, 0); - EXPECT_EQ(e.delta_x , 10); - EXPECT_EQ(e.delta_y , 10); + EXPECT_EQ(e.delta_x, 10); + EXPECT_EQ(e.delta_y, 10); return false; }; event_manager.subscribe(on_mouse_move); @@ -223,7 +223,8 @@ TEST_F(InputTest, testButtonClick) { GameObject button_obj = mgr.new_object("body", "person", vec2{0, 0}, 0, 1); bool button_clicked = false; std::function on_click = [&]() { button_clicked = true; }; - auto & button = button_obj.add_component