From 10030c540b59f06bc52cf94dc3a21ba25dc5b28b Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Sun, 20 Oct 2024 21:08:42 +0200 Subject: [PATCH] test: `pow<0>` and `pow<1>` tests added for dimensions --- test/static/dimension_test.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/static/dimension_test.cpp b/test/static/dimension_test.cpp index 8064831e..c354e03c 100644 --- a/test/static/dimension_test.cpp +++ b/test/static/dimension_test.cpp @@ -234,6 +234,10 @@ static_assert(length != time); static_assert(acceleration != speed); // power +static_assert(is_of_type(length), dimension_one_>); +static_assert(is_of_type(length), length_>); +static_assert(is_of_type(length), length_>); +static_assert(is_of_type(dimension_one), dimension_one_>); static_assert(is_of_type(length), derived_dimension>>); static_assert(is_of_type(length), derived_dimension>>); static_assert(is_of_type(length* length), length_>);