From 5e365f190599691e6253a675fc44e8a9a0455153 Mon Sep 17 00:00:00 2001 From: Chip Hogg Date: Sat, 9 Apr 2022 17:56:01 +0000 Subject: [PATCH] Delete obsolete test case --- test/unit_test/static/unit_test.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/unit_test/static/unit_test.cpp b/test/unit_test/static/unit_test.cpp index a185a150..eaaba74a 100644 --- a/test/unit_test/static/unit_test.cpp +++ b/test/unit_test/static/unit_test.cpp @@ -67,14 +67,6 @@ static_assert( static_assert(compare(), metre>>, foot>); static_assert(compare>, kilometre_per_hour>); -// We should delete this test case, because we are switching from ratio to Magnitude, and a negative Magnitude cannot -// even be formed. -// #if !UNITS_COMP_MSVC -// static_assert([]() { -// return !requires { typename scaled_unit; }; -// }.template operator()()>()); // negative unit ratio -// #endif - static_assert(centimetre::symbol == "cm"); static_assert(kilometre::symbol == "km"); static_assert(kilometre_per_hour::symbol == "km/h");