summaryrefslogtreecommitdiff
path: root/src/utils/timer_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-08 19:37:48 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-08 19:37:48 +0300
commitc8007693768d599726119b89cff5ab6aa1cf000d (patch)
tree0beda4b49c5c30a254046d2cba9b54e983e0eb58 /src/utils/timer_unittest.cc
parent661ae1c08d0cab92011e1913e587901c51aee5fe (diff)
downloadplus-c8007693768d599726119b89cff5ab6aa1cf000d.tar.gz
plus-c8007693768d599726119b89cff5ab6aa1cf000d.tar.bz2
plus-c8007693768d599726119b89cff5ab6aa1cf000d.tar.xz
plus-c8007693768d599726119b89cff5ab6aa1cf000d.zip
Fix code style.
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")