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/mathutils_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/mathutils_unittest.cc')
-rw-r--r-- | src/utils/mathutils_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/mathutils_unittest.cc b/src/utils/mathutils_unittest.cc index 6ec2ce831..187accf74 100644 --- a/src/utils/mathutils_unittest.cc +++ b/src/utils/mathutils_unittest.cc @@ -24,7 +24,7 @@ #include "debug.h" -TEST_CASE("MathUtils powerOfTwo") +TEST_CASE("MathUtils powerOfTwo", "") { REQUIRE(powerOfTwo(0) == 1); REQUIRE(powerOfTwo(1) == 1); @@ -95,7 +95,7 @@ TEST_CASE("MathUtils powerOfTwo") REQUIRE(powerOfTwo(1000000) == 1048576); } -TEST_CASE("MathUtils tests fastSqrtInt") +TEST_CASE("MathUtils tests fastSqrtInt", "") { for (int f = 0; f < 1005; f ++) REQUIRE(fastSqrtInt(f) == CAST_S32(sqrt(f))); |