diff --git a/include/units.h b/include/units.h index c62921ba..6524a4e0 100644 --- a/include/units.h +++ b/include/units.h @@ -4554,7 +4554,6 @@ namespace units } } // end namespace math - UNIT_ADD(length, square_meters_per_second, square_meters_per_second, m2ps, unit < std::ratio<1>, compound_unit>>); } // end namespace units diff --git a/unitTests/main.cpp b/unitTests/main.cpp index 22622207..6511f31f 100644 --- a/unitTests/main.cpp +++ b/unitTests/main.cpp @@ -2914,6 +2914,7 @@ TEST_F(Constexpr, stdArray) { constexpr std::array arr = { 0_m, 1_m, 2_m, 3_m, 4_m }; constexpr bool equal = (arr[3] == 3_m); + EXPECT_TRUE(equal); } #endif