diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-18 22:51:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-18 22:53:01 +0300 |
commit | 40de3bee0278d6584561a827123bc342934adccb (patch) | |
tree | 460ba68f29ec25377ef1971989c4c46e507ea3da /src/utils/timer_unittest.cc | |
parent | dffd0a4a8e99196ad27f8fde2430b09dd29cac57 (diff) | |
download | plus-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.cc | 6 |
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); |