scaled_unit template parameters order fixed (sorry Oliver)

This commit is contained in:
Mateusz Pusz
2019-12-14 21:16:15 +01:00
parent 5ef0bb9a9f
commit 6596c15238
8 changed files with 28 additions and 28 deletions

View File

@@ -110,7 +110,7 @@ TEST_CASE("operator<< on a quantity", "[text][ostream][fmt]")
{
SECTION("in terms of base units")
{
const length<scaled_unit<metre, ratio<1'000'000>>> q(123);
const length<scaled_unit<ratio<1'000'000>, metre>> q(123);
stream << q;
SECTION("iostream")
@@ -131,7 +131,7 @@ TEST_CASE("operator<< on a quantity", "[text][ostream][fmt]")
SECTION("in terms of derived units")
{
const energy<scaled_unit<joule, ratio<1, 100>>> q(60);
const energy<scaled_unit<ratio<1, 100>, joule>> q(60);
stream << q;
SECTION("iostream")