diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-08 19:37:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-08 19:37:48 +0300 |
commit | c8007693768d599726119b89cff5ab6aa1cf000d (patch) | |
tree | 0beda4b49c5c30a254046d2cba9b54e983e0eb58 /src/utils/timer_unittest.cc | |
parent | 661ae1c08d0cab92011e1913e587901c51aee5fe (diff) | |
download | manaverse-c8007693768d599726119b89cff5ab6aa1cf000d.tar.gz manaverse-c8007693768d599726119b89cff5ab6aa1cf000d.tar.bz2 manaverse-c8007693768d599726119b89cff5ab6aa1cf000d.tar.xz manaverse-c8007693768d599726119b89cff5ab6aa1cf000d.zip |
Fix code style.
Diffstat (limited to 'src/utils/timer_unittest.cc')
-rw-r--r-- | src/utils/timer_unittest.cc | 6 |
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") |