diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-12 19:48:18 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-12 19:48:18 +0100 |
commit | 8cb43ae9ce445c757274874934c30f815b3b6108 (patch) | |
tree | 47e2d09223995b122cab3be6af0a5d6dd09dfbbd /src/test/LoopTimerTest.cpp | |
parent | f7b4866811c63ae24c366d9452e53d24e504336f (diff) | |
parent | fd403d038b017ec8976023471073329896035e36 (diff) |
Merge branch 'master' of https://github.com/lonkaars/crepe into wouter/gameloop
Diffstat (limited to 'src/test/LoopTimerTest.cpp')
-rw-r--r-- | src/test/LoopTimerTest.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/LoopTimerTest.cpp b/src/test/LoopTimerTest.cpp index c468567..6391076 100644 --- a/src/test/LoopTimerTest.cpp +++ b/src/test/LoopTimerTest.cpp @@ -1,10 +1,13 @@ #include <chrono> #include <gtest/gtest.h> #include <thread> + #define private public #define protected public + #include <crepe/manager/LoopTimerManager.h> #include <crepe/manager/Mediator.h> + using namespace std::chrono; using namespace crepe; @@ -57,7 +60,7 @@ TEST_F(LoopTimerTest, DeltaTimeCalculation) { ASSERT_NEAR(delta_time.count(), elapsed_time, 1); } -TEST_F(LoopTimerTest, getCurrentTime) { +TEST_F(LoopTimerTest, DISABLED_getCurrentTime) { // Set the target FPS to 60 (16.67 ms per frame) loop_timer.set_target_framerate(60); |