diff options
| author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-07 15:32:47 +0100 | 
|---|---|---|
| committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-07 15:32:47 +0100 | 
| commit | 24c9a9ab277897a7191d4e99213c2ab9f5d4ecd8 (patch) | |
| tree | 0e5f9dc8be0592431b52149db51337ccf3bc2e7f /src/test/LoopTimerTest.cpp | |
| parent | 0f2451f4d48c78426c2663501e6cdd6871f1e94a (diff) | |
make format
Diffstat (limited to 'src/test/LoopTimerTest.cpp')
| -rw-r--r-- | src/test/LoopTimerTest.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/test/LoopTimerTest.cpp b/src/test/LoopTimerTest.cpp index 09b4e00..c6655d9 100644 --- a/src/test/LoopTimerTest.cpp +++ b/src/test/LoopTimerTest.cpp @@ -1,6 +1,6 @@  #include <chrono> -#include <thread>  #include <gtest/gtest.h> +#include <thread>  #define private public  #define protected public  #include <crepe/manager/LoopTimerManager.h> @@ -26,7 +26,7 @@ TEST_F(LoopTimerTest, EnforcesTargetFrameRate) {  	auto elapsed_ms = duration_cast<milliseconds>(elapsed_time).count();  	// For 60 FPS, the target frame time is around 16.67ms -	ASSERT_NEAR(elapsed_ms,16.7,1); +	ASSERT_NEAR(elapsed_ms, 16.7, 1);  }  TEST_F(LoopTimerTest, SetTargetFps) {  	// Set the target FPS to 120 |