diff --git a/test/unit_test/static/reference_test.cpp b/test/unit_test/static/reference_test.cpp index 8b59570e..6561d48b 100644 --- a/test/unit_test/static/reference_test.cpp +++ b/test/unit_test/static/reference_test.cpp @@ -47,10 +47,16 @@ QUANTITY_SPEC_(length, dim_length); QUANTITY_SPEC_(mass, dim_mass); QUANTITY_SPEC_(time, dim_time); +QUANTITY_SPEC_(width, length); +QUANTITY_SPEC_(radius, width); +QUANTITY_SPEC_(arc_length, length); + QUANTITY_SPEC_(frequency, 1 / time); QUANTITY_SPEC_(action, 1 / time); QUANTITY_SPEC_(area, length* length); QUANTITY_SPEC_(volume, area* length); +QUANTITY_SPEC_(angular_measure, arc_length / radius); +QUANTITY_SPEC_(solid_angular_measure, area / pow<2>(radius)); QUANTITY_SPEC_(speed, length / time); QUANTITY_SPEC_(acceleration, speed / time); QUANTITY_SPEC_(force, mass* acceleration); @@ -61,9 +67,9 @@ QUANTITY_SPEC_(efficiency, power / power); QUANTITY_SPEC_(energy, force* length); // base units -inline constexpr struct second_ : named_unit<"s", time> {} second; -inline constexpr struct metre_ : named_unit<"m", length> {} metre; -inline constexpr struct gram_ : named_unit<"g", mass> {} gram; +inline constexpr struct second_ : named_unit<"s", kind_of