aboutsummaryrefslogtreecommitdiff
path: root/src/test/LoopTimerTest.cpp
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-12 21:21:33 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-12 21:21:33 +0100
commit7f895cda48e180630a3920293a4349b19d1905f9 (patch)
tree757ec566d44de76eb5e509aafece4e86aa812856 /src/test/LoopTimerTest.cpp
parent2eaebb2a79ef71589a0be89cfe419f874fbadd09 (diff)
parentfd403d038b017ec8976023471073329896035e36 (diff)
Merge branch 'master' of https://github.com/lonkaars/crepe into wouter/text-component
Diffstat (limited to 'src/test/LoopTimerTest.cpp')
-rw-r--r--src/test/LoopTimerTest.cpp5
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);