forked from mpusz/mp-units
replaced back unit test with one using exponent
This commit is contained in:
committed by
Mateusz Pusz
parent
81b3ff9bdc
commit
17ce8d3dc8
@@ -295,13 +295,12 @@ TEST_CASE("operator<< on a quantity", "[text][ostream][fmt]")
|
||||
|
||||
SECTION("unit::ratio for a dimension without a special symbol")
|
||||
{
|
||||
const auto q = 2q_cm * 2q_m * 2q_m;
|
||||
const auto q = 2q_um * 2q_cm * 2q_cm;
|
||||
os << q;
|
||||
|
||||
SECTION("iostream")
|
||||
{
|
||||
//CHECK(os.str() == "8 × 10⁻² m³");
|
||||
CHECK(os.str() == "8 dal");
|
||||
CHECK(os.str() == "8 × 10⁻¹⁰ m³");
|
||||
}
|
||||
|
||||
SECTION("fmt with default format {} on a quantity")
|
||||
|
Reference in New Issue
Block a user