diff --git a/test/static/quantity_spec_test.cpp b/test/static/quantity_spec_test.cpp index 13ca2863..78cc4e46 100644 --- a/test/static/quantity_spec_test.cpp +++ b/test/static/quantity_spec_test.cpp @@ -54,9 +54,11 @@ QUANTITY_SPEC_(radius, width); QUANTITY_SPEC_(path_length, length); inline constexpr auto arc_length = path_length; QUANTITY_SPEC_(distance, path_length); +QUANTITY_SPEC_(wavelength, length); QUANTITY_SPEC_(position_vector, length, quantity_character::vector); QUANTITY_SPEC_(period_duration, time); QUANTITY_SPEC_(rotation, dimensionless); +QUANTITY_SPEC_(repetency, inverse(wavelength)); QUANTITY_SPEC_(frequency, inverse(period_duration)); QUANTITY_SPEC_(activity, inverse(time)); QUANTITY_SPEC_(area, pow<2>(length)); @@ -721,6 +723,7 @@ static_assert(convertible_impl(kind_of, frequency) == yes); static_assert(convertible_impl(kind_of, activity) == yes); static_assert(convertible_impl(kind_of(length) / pow<2>(time)>, energy) == yes); static_assert(convertible_impl(kind_of(length) / pow<2>(time)>, moment_of_force) == yes); +static_assert(convertible_impl(kind_of, repetency) == yes); // type to a kind of a different kind static_assert(convertible_impl(mass, kind_of) == no);