Skip to content

Commit

Permalink
Re-enable static_assert for fpclassify and verify it works with CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinzii committed Mar 12, 2024
1 parent 10374f6 commit 022804c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/compare/fpclassify_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ TEST(CcmathCompareTests, Fpclassify)
{
// Test that fpclassify is static_assert-able
// TODO: Having issues with static_assert for fpclassify on windows and macos
//static_assert(ccm::fpclassify(1.0) == std::fpclassify(1.0), "fpclassify has failed testing that it is static_assert-able!");
static_assert(ccm::fpclassify(1.0) == std::fpclassify(1.0), "fpclassify has failed testing that it is static_assert-able!");

EXPECT_EQ(ccm::fpclassify(1.0), std::fpclassify(1.0));
EXPECT_EQ(ccm::fpclassify(0.0), std::fpclassify(0.0));
Expand Down

0 comments on commit 022804c

Please sign in to comment.