Skip to content

Commit

Permalink
Bugfix: Ensure that all utilities test gets run as part core suite
Browse files Browse the repository at this point in the history
  • Loading branch information
kennyweiss committed Jun 21, 2022
1 parent 76cecc1 commit c6c1eb7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/axom/core/tests/utils_utilities.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -243,7 +243,7 @@ TEST(core_utilities, binomial_coefficient)
}
}

TEST(core_Utilities, lerp)
TEST(utils_utilities, lerp)
{
std::cout << "Testing lerp function." << std::endl;

Expand Down Expand Up @@ -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);
}
}
}
}

0 comments on commit c6c1eb7

Please sign in to comment.