refactor: numerical_value_ data member now has much less friendly name

This commit is contained in:
Mateusz Pusz
2023-10-17 14:16:22 +02:00
parent 6e7a2fd0bb
commit abafd1d38e
9 changed files with 288 additions and 260 deletions
+2 -2
View File
@@ -90,12 +90,12 @@ TEST_CASE("numeric_limits functions", "[limits]")
{
SECTION("'epsilon' works as expected using default floating type")
{
REQUIRE(epsilon<double>(isq::length[m]).numerical_value_ ==
REQUIRE(epsilon<double>(isq::length[m]).numerical_value_in(m) ==
std::numeric_limits<decltype(1. * isq::length[m])::rep>::epsilon());
}
SECTION("'epsilon' works as expected using integers")
{
REQUIRE(epsilon<int>(isq::length[m]).numerical_value_ ==
REQUIRE(epsilon<int>(isq::length[m]).numerical_value_in(m) ==
std::numeric_limits<decltype(1 * isq::length[m])::rep>::epsilon());
}
}