refactor: pi-based magnitude renamed to mag_pi
This commit is contained in:
1 parent
9891eab82b
commit
c1d23b41c1
3 files changed
+7
-7
No files matched your search
@@ -193,9 +193,9 @@ TEST_CASE("magnitude converts to numerical value")
|
||||
|
||||
SECTION("pi to the 1 supplies correct values")
|
||||
{
|
||||
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<long double>(pi), std::numbers::pi_v<long double>);
|
||||
check_same_type_and_value(get_value<float>(mag_pi), std::numbers::pi_v<float>);
|
||||
check_same_type_and_value(get_value<double>(mag_pi), std::numbers::pi_v<double>);
|
||||
check_same_type_and_value(get_value<long double>(mag_pi), std::numbers::pi_v<long double>);
|
||||
}
|
||||
|
||||
SECTION("pi to arbitrary power performs computations in most accurate type at compile time")
|
||||
|
||||
Reference in new issue
Block a user