Skip to content

Commit 3466936

Browse files
committed
Bugfix: Ensure that all utilities test gets run as part core suite
1 parent 00ed74b commit 3466936

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/axom/core/tests/utils_utilities.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ TEST(utils_utilities, floor_ceil)
160160
}
161161

162162
//------------------------------------------------------------------------------
163-
TEST(core_utilities, binomial_coefficient)
163+
TEST(utils_utilities, binomial_coefficient)
164164
{
165165
std::cout << "Testing binomial coefficient function." << std::endl;
166166

@@ -243,7 +243,7 @@ TEST(core_utilities, binomial_coefficient)
243243
}
244244
}
245245

246-
TEST(core_Utilities, lerp)
246+
TEST(utils_utilities, lerp)
247247
{
248248
std::cout << "Testing lerp function." << std::endl;
249249

@@ -288,7 +288,7 @@ TEST(core_Utilities, lerp)
288288
double t = axom::utilities::random_real(-1.5, 1.5);
289289

290290
double exp = A + (B - A) * t;
291-
EXPECT_DOUBLE_EQ(exp, axom::utilities::lerp(A, B, t));
291+
EXPECT_NEAR(exp, axom::utilities::lerp(A, B, t), 1e-12);
292292
}
293293
}
294-
}
294+
}

0 commit comments

Comments
 (0)