From 40de3bee0278d6584561a827123bc342934adccb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 18 May 2017 22:51:52 +0300 Subject: Add support for additional unit test library doctest. --- src/utils/mathutils_unittest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils/mathutils_unittest.cc') 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))); -- cgit v1.2.3-60-g2f50