forked from mpusz/mp-units
feat: two argument explicit cast support added
This commit is contained in:
@@ -468,7 +468,7 @@ TEST_CASE("operator<< on a quantity", "[text][ostream][fmt]")
|
||||
SECTION("percents")
|
||||
{
|
||||
#if DOWNCAST_MODE == 0
|
||||
const auto q = quantity_cast<dimensionless<percent>>(15._q_m / 100._q_m);
|
||||
const auto q = quantity_cast<dim_one, percent>(15._q_m / 100._q_m);
|
||||
#else
|
||||
const auto q = quantity_cast<percent>(15._q_m / 100._q_m);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user