Skip to content

Commit

Permalink
re-enable static assert test for ccm::sqrt
Browse files Browse the repository at this point in the history
Signed-off-by: Ian <[email protected]>
  • Loading branch information
Rinzii committed Jan 25, 2025
1 parent 41755e2 commit 344703f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/power/sqrt_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,17 @@
// https://github.com/actions/runner-images/issues/10004#
// NOLINTNEXTLINE

#include <gtest/gtest.h>

#include "ccmath/ccmath.hpp"

#include <gtest/gtest.h>

#include <cmath>
#include <limits>

/*
TEST(CcmathPowerTests, Sqrt_StaticAssert)
{
//static_assert(ccm::sqrt(2.0) == ccm::sqrt(2.0), "ccm::sqrt is not a compile time constant!");
static_assert(ccm::sqrt(2.0) == ccm::sqrt(2.0), "ccm::sqrt is not a compile time constant!");
}
*/

TEST(CcmathPowerTests, Sqrt_Double_CheckCCM)
{
Expand Down

0 comments on commit 344703f

Please sign in to comment.