mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-11 08:04:27 +02:00
Remove shadowing declaration of pi
This commit is contained in:
@@ -193,7 +193,6 @@ TEST_CASE("magnitude converts to numerical value")
|
|||||||
|
|
||||||
SECTION("pi to the 1 supplies correct values")
|
SECTION("pi to the 1 supplies correct values")
|
||||||
{
|
{
|
||||||
constexpr auto pi = pi_to_the<1>();
|
|
||||||
check_same_type_and_value(get_value<float>(pi), std::numbers::pi_v<float>);
|
check_same_type_and_value(get_value<float>(pi), std::numbers::pi_v<float>);
|
||||||
check_same_type_and_value(get_value<double>(pi), std::numbers::pi_v<double>);
|
check_same_type_and_value(get_value<double>(pi), std::numbers::pi_v<double>);
|
||||||
check_same_type_and_value(get_value<long double>(pi), std::numbers::pi_v<long double>);
|
check_same_type_and_value(get_value<long double>(pi), std::numbers::pi_v<long double>);
|
||||||
|
Reference in New Issue
Block a user