diff --git a/test/unit_test/test_custom_units.cpp b/test/unit_test/test_custom_units.cpp index 6ffeab57..1d03c421 100644 --- a/test/unit_test/test_custom_units.cpp +++ b/test/unit_test/test_custom_units.cpp @@ -21,6 +21,7 @@ // SOFTWARE. #include +#include /* ************** DERIVED DIMENSIONS THAT INCLUDE UNITS WITH SPECIAL NAMES **************** */ @@ -67,20 +68,13 @@ namespace { using namespace stde::units; // power spectral density - // todo: add support for make_dimension_t of non base units - // struct power_spectral_density : make_dimension_t, exp> {}; - struct power_spectral_density - : make_dimension_t, exp, exp, exp> { - }; + struct power_spectral_density : make_dimension_t, exp> {}; struct sq_volt_per_hertz : unit {}; // amplitude spectral density - // struct dimension_amplitude_spectral_density : make_dimension_t, exp> {}; - struct amplitude_spectral_density - : make_dimension_t, exp, exp, exp, exp> { - }; + struct amplitude_spectral_density : make_dimension_t, exp> {}; // todo: add support for derived_unit - //struct volt_per_sq_hertz : derived_unit {}; + //struct volt_per_sq_hertz : derived_unit {}; struct volt_per_sqrt_hertz : unit {}; }