summaryrefslogtreecommitdiff
path: root/src/utils/timer_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-18 22:51:52 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-18 22:53:01 +0300
commit40de3bee0278d6584561a827123bc342934adccb (patch)
tree460ba68f29ec25377ef1971989c4c46e507ea3da /src/utils/timer_unittest.cc
parentdffd0a4a8e99196ad27f8fde2430b09dd29cac57 (diff)
downloadplus-40de3bee0278d6584561a827123bc342934adccb.tar.gz
plus-40de3bee0278d6584561a827123bc342934adccb.tar.bz2
plus-40de3bee0278d6584561a827123bc342934adccb.tar.xz
plus-40de3bee0278d6584561a827123bc342934adccb.zip
Add support for additional unit test library doctest.
Diffstat (limited to 'src/utils/timer_unittest.cc')
-rw-r--r--src/utils/timer_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/timer_unittest.cc b/src/utils/timer_unittest.cc
index 41bfad48c..4a9f245da 100644
--- a/src/utils/timer_unittest.cc
+++ b/src/utils/timer_unittest.cc
@@ -30,12 +30,12 @@
static const int MAX_TICK_VALUE = INT_MAX / 2;
-TEST_CASE("timer const")
+TEST_CASE("timer const", "")
{
REQUIRE(MILLISECONDS_IN_A_TICK != 0);
}
-TEST_CASE("timer get_elapsed_time")
+TEST_CASE("timer get_elapsed_time", "")
{
tick_time = 0;
REQUIRE(get_elapsed_time(0) == 0);
@@ -62,7 +62,7 @@ TEST_CASE("timer get_elapsed_time")
10001 * MILLISECONDS_IN_A_TICK);
}
-TEST_CASE("timer get_elapsed_time1")
+TEST_CASE("timer get_elapsed_time1", "")
{
tick_time = 0;
REQUIRE(get_elapsed_time1(0) == 0);