diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-12 15:02:42 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-12 15:02:42 +0100 |
commit | a6350aa70a80e0fe1a6eade3b5eefd240b4942f2 (patch) | |
tree | e471de14098c696d1ad425f1514c6ec58699e03b /src/test/LoopTimerTest.cpp | |
parent | f9ed8f05ec95e530041d54921cdd17023cdfde6f (diff) | |
parent | 05a33d4793520fa84a93bc79882ef29d39cd08e5 (diff) |
Merge branch 'master' of github.com:lonkaars/crepe into jaro/physics-system-improvement
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 5e1eccf..d76bf45 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); |