From 156ab7ae7faa0b773f31c73e92c48cc6310a48eb Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 12 Dec 2019 15:39:04 +0100 Subject: [PATCH] Unknown dimension assert added to quantity_test --- test/unit_test/static/quantity_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/unit_test/static/quantity_test.cpp b/test/unit_test/static/quantity_test.cpp index 3636cf32..7de30728 100644 --- a/test/unit_test/static/quantity_test.cpp +++ b/test/unit_test/static/quantity_test.cpp @@ -272,6 +272,8 @@ static_assert((7m % 2).count() == 1); static_assert((7m % 2m).count() == 1); static_assert((7km % 2000m).count() == 1000); +static_assert((10sq_km * 10sq_km) / 50sq_km == 2sq_km); + // comparators static_assert(2m + 1m == 3m);