From 4f5e4fc44a0f27fc3d193dcc2d4cbc2c31b1ed56 Mon Sep 17 00:00:00 2001 From: Michael Platings Date: Thu, 23 Jan 2025 11:31:45 +0000 Subject: [PATCH] Fix missing test coverage in separable_filter_7x7_neon.h --- test/framework/utils.cpp | 3 ++- test/framework/utils.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/framework/utils.cpp b/test/framework/utils.cpp index f51c2e6ca..d7bb5c78f 100644 --- a/test/framework/utils.cpp +++ b/test/framework/utils.cpp @@ -59,7 +59,7 @@ template void dump(const TwoDimensional *); template void dump(const TwoDimensional *); template void dump(const TwoDimensional *); -std::array small_array_layouts(size_t min_width, +std::array small_array_layouts(size_t min_width, size_t min_height) { size_t vl = test::Options::vector_length(); size_t width = std::max(min_width, vl); @@ -68,6 +68,7 @@ std::array small_array_layouts(size_t min_width, // clang-format off // width, height, padding, channels { min_width, min_height, 0, 1}, + { min_width + 1, min_height + 1, 0, 1}, { min_width * 2, min_height, 0, 2}, { min_width * 3, min_height, vl, 3}, { min_width * 3, min_height, 0, 1}, diff --git a/test/framework/utils.h b/test/framework/utils.h index b697bf8b2..0ba9192ae 100644 --- a/test/framework/utils.h +++ b/test/framework/utils.h @@ -124,7 +124,7 @@ default_border_values() { } // Returns an array of just a few small layouts. -std::array small_array_layouts(size_t min_width, +std::array small_array_layouts(size_t min_width, size_t min_height); // Returns an array of default tested layouts. std::array default_array_layouts(size_t min_width, -- GitLab