From 2e609d9d6d85b8e8b188422fe9d5d030dbcacff0 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Tue, 13 Feb 2024 21:14:00 +0100 Subject: [PATCH] fix: add missing unit test changes --- test/static/quantity_spec_test.cpp | 40 +++++++++++++++--------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/test/static/quantity_spec_test.cpp b/test/static/quantity_spec_test.cpp index d97136866..b845e4c8c 100644 --- a/test/static/quantity_spec_test.cpp +++ b/test/static/quantity_spec_test.cpp @@ -396,25 +396,25 @@ static_assert(acceleration * (time * time) != position_vector); static_assert(acceleration / speed != frequency); // get_kind -static_assert(get_kind(length) == length); -static_assert(get_kind(distance) == length); -static_assert(get_kind(time) == time); -static_assert(get_kind(period_duration) == time); -static_assert(get_kind(length / time) == length / time); -static_assert(get_kind(speed) == speed); -static_assert(get_kind(height / time) == length / time); -static_assert(get_kind(inverse(time)) == inverse(time)); -static_assert(get_kind(inverse(period_duration)) == inverse(time)); -static_assert(get_kind(frequency) == frequency); -static_assert(get_kind(mass * frequency) == mass * frequency); -static_assert(get_kind(moment_of_force) == moment_of_force); -static_assert(get_kind(energy) == energy); -static_assert(get_kind(potential_energy) == energy); -static_assert(get_kind(kinetic_energy) == energy); -static_assert(get_kind(pow<1, 2>(area)) == pow<1, 2>(area)); -static_assert(get_kind(angular_measure) == angular_measure); -static_assert(get_kind(phase_angle) == angular_measure); -static_assert(get_kind(rotational_displacement) == angular_measure); +static_assert(get_kind(length) == kind_of); +static_assert(get_kind(distance) == kind_of); +static_assert(get_kind(time) == kind_of