summaryrefslogtreecommitdiff
path: root/src/utils/timer_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/timer_unittest.cc')
-rw-r--r--src/utils/timer_unittest.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/utils/timer_unittest.cc b/src/utils/timer_unittest.cc
index 3855d6e70..c7fc2a275 100644
--- a/src/utils/timer_unittest.cc
+++ b/src/utils/timer_unittest.cc
@@ -51,13 +51,15 @@ TEST_CASE("timer get_elapsed_time")
tick_time = 10;
REQUIRE(get_elapsed_time(0) == 10 * MILLISECONDS_IN_A_TICK);
REQUIRE(get_elapsed_time(10) == 0 * MILLISECONDS_IN_A_TICK);
- REQUIRE(get_elapsed_time(MAX_TICK_VALUE - 1) == 11 * MILLISECONDS_IN_A_TICK);
+ REQUIRE(get_elapsed_time(MAX_TICK_VALUE - 1) ==
+ 11 * MILLISECONDS_IN_A_TICK);
tick_time = 10000;
REQUIRE(get_elapsed_time(0) == 10000 * MILLISECONDS_IN_A_TICK);
REQUIRE(get_elapsed_time(10) == 9990 * MILLISECONDS_IN_A_TICK);
REQUIRE(get_elapsed_time(10000) == 0 * MILLISECONDS_IN_A_TICK);
- REQUIRE(get_elapsed_time(MAX_TICK_VALUE - 1) == 10001 * MILLISECONDS_IN_A_TICK);
+ REQUIRE(get_elapsed_time(MAX_TICK_VALUE - 1) ==
+ 10001 * MILLISECONDS_IN_A_TICK);
}
TEST_CASE("timer get_elapsed_time1")