diff --git a/src/axom/core/tests/utils_utilities.hpp b/src/axom/core/tests/utils_utilities.hpp index ec600f2176..bf1887f263 100644 --- a/src/axom/core/tests/utils_utilities.hpp +++ b/src/axom/core/tests/utils_utilities.hpp @@ -160,7 +160,7 @@ TEST(utils_utilities, floor_ceil) } //------------------------------------------------------------------------------ -TEST(core_utilities, binomial_coefficient) +TEST(utils_utilities, binomial_coefficient) { std::cout << "Testing binomial coefficient function." << std::endl; @@ -243,7 +243,7 @@ TEST(core_utilities, binomial_coefficient) } } -TEST(core_Utilities, lerp) +TEST(utils_utilities, lerp) { std::cout << "Testing lerp function." << std::endl; @@ -288,7 +288,7 @@ TEST(core_Utilities, lerp) double t = axom::utilities::random_real(-1.5, 1.5); double exp = A + (B - A) * t; - EXPECT_DOUBLE_EQ(exp, axom::utilities::lerp(A, B, t)); + EXPECT_NEAR(exp, axom::utilities::lerp(A, B, t), 1e-12); } } -} \ No newline at end of file +}