diff --git a/tests/unit/compary_arrays.hpp b/tests/unit/compary_arrays.hpp index c488b49cb..8a867a55d 100644 --- a/tests/unit/compary_arrays.hpp +++ b/tests/unit/compary_arrays.hpp @@ -76,5 +76,5 @@ void compare_arrays(const Actual& actual, compare_arrays(expected, actual, dims, [](base_type a, base_type b) { return a == b; }); } - } -} +} // namespace testing +} // namespace HighFive diff --git a/tests/unit/data_generator.hpp b/tests/unit/data_generator.hpp index 1927ed4d5..e4e7dfa85 100644 --- a/tests/unit/data_generator.hpp +++ b/tests/unit/data_generator.hpp @@ -303,7 +303,7 @@ struct ContainerTraits { } static void assign(container_type& dst, const container_type& src) { - for(size_t i = 0; i < n; ++i) { + for (size_t i = 0; i < n; ++i) { dst[i] = src[i]; } } @@ -757,11 +757,10 @@ struct MultiDimVector { template void initialize_impl(C& array, - const std::vector& dims, - std::vector& indices, - size_t axis, - F f) { - + const std::vector& dims, + std::vector& indices, + size_t axis, + F f) { using traits = ContainerTraits; if (axis == indices.size()) { auto value = f(indices); diff --git a/tests/unit/test_all_types.cpp b/tests/unit/test_all_types.cpp index 688164e0e..0a18e0257 100644 --- a/tests/unit/test_all_types.cpp +++ b/tests/unit/test_all_types.cpp @@ -86,7 +86,7 @@ TEMPLATE_PRODUCT_TEST_CASE("Scalar in std::vector", "[Types]", std::v template auto check_read_auto(const Expected& expected, const std::vector& dims, const Obj& obj) -> typename std::enable_if::is_view>::type { - testing::compare_arrays(obj.template read(), expected, dims); + testing::compare_arrays(obj.template read(), expected, dims); } template