From d84a2beae5131d9ecbd6a26ddeadf3dce8e7ccd7 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Sun, 14 Jul 2024 22:12:25 +0200 Subject: [PATCH] fix: `common_type_t` unit tests fixed --- test/static/quantity_test.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/static/quantity_test.cpp b/test/static/quantity_test.cpp index d609faeac..2a91ffd7f 100644 --- a/test/static/quantity_test.cpp +++ b/test/static/quantity_test.cpp @@ -984,18 +984,18 @@ static_assert(is_same_v(isq::len quantity>); #if MP_UNITS_HOSTED -static_assert(is_same_v, std::chrono::seconds>, std::chrono::seconds>); +static_assert(is_same_v, std::chrono::seconds>, std::chrono::seconds>); #endif static_assert(is_same_v, int>, quantity>); -// static_assert(is_same_v, double>, quantity>); -// static_assert(is_same_v, int>, quantity>); +static_assert(is_same_v, double>, quantity>); +static_assert(is_same_v, int>, quantity>); static_assert(is_same_v, int>, quantity>); -// static_assert(is_same_v, double>, -// quantity>); -// static_assert(is_same_v, int>, -// quantity>); +static_assert(is_same_v, double>, + quantity>); +static_assert(is_same_v, int>, + quantity>); //////////////////