diff --git a/test/unit_test/static/custom_unit_test.cpp b/test/unit_test/static/custom_unit_test.cpp index 2dbe60df..87afa540 100644 --- a/test/unit_test/static/custom_unit_test.cpp +++ b/test/unit_test/static/custom_unit_test.cpp @@ -32,8 +32,8 @@ using namespace units; using namespace units::physical::si; // power spectral density -struct volt2_per_hertz : unit {}; -struct dim_power_spectral_density : derived_dimension, units::exponent> {}; +struct sq_volt_per_hertz : unit {}; +struct dim_power_spectral_density : derived_dimension, units::exponent> {}; template using power_spectral_density = quantity; @@ -55,8 +55,8 @@ inline constexpr bool compare = DOWNCAST_MODE != 0 ? is_same_v : (is_same_ static_assert(compare, dim_amplitude_spectral_density>); static_assert(compare, dim_power_spectral_density>); -static_assert(compare(amplitude_spectral_density(4))), decltype(power_spectral_density(16))>); -static_assert(compare(16))), decltype(amplitude_spectral_density(4))>); +static_assert(compare(amplitude_spectral_density(4))), decltype(power_spectral_density(16))>); +static_assert(compare(16))), decltype(amplitude_spectral_density(4))>); }