From b5ca8c78ebca608a83934ebc3c5830c98cbb3353 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Tue, 15 Oct 2024 21:07:46 +0200 Subject: [PATCH] test: one `kind_of` test added to reference tests --- test/static/reference_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/static/reference_test.cpp b/test/static/reference_test.cpp index e943827e..09758aac 100644 --- a/test/static/reference_test.cpp +++ b/test/static/reference_test.cpp @@ -256,6 +256,7 @@ static_assert(metre / second != length[metre] / time[second]); static_assert(metre / time[second] == length[metre] / second); static_assert(is_of_type); static_assert(is_of_type); +static_assert(kind_of[metre] == metre); template concept invalid_unit = !requires { QS[U]; };