mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-01 03:14:29 +02:00
fix: _angular impulse_ unit symbol formatting unit test fixed
This commit is contained in:
@@ -172,7 +172,7 @@ TEST_CASE("operator<< on a quantity", "[text][ostream][fmt]")
|
||||
const auto q = 123 * isq::angular_impulse[N * m * s];
|
||||
os << q;
|
||||
|
||||
SECTION("iostream") { CHECK(os.str() == "123 N m s"); }
|
||||
SECTION("iostream") { CHECK(os.str() == "123 m N s"); }
|
||||
|
||||
SECTION("fmt with default format {} on a quantity") { CHECK(MP_UNITS_STD_FMT::format("{}", q) == os.str()); }
|
||||
|
||||
|
Reference in New Issue
Block a user