Skip to content

Commit 651179e

Browse files
author
Tsung-Wei Huang
committed
add ND static partitioner with slice_ceil/floor, zero-dim sequential semantics, and comprehensive tests
1 parent 1f4a433 commit 651179e

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

‎unittests/test_iterators.cpp‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -831,18 +831,6 @@ TEST_CASE("slice_ceil.full_coverage.4d") {
831831
//
832832
// Tests cover 2D through 19D with zero at every dimension position.
833833
// ============================================================================
834-
835-
// Helper: compute the expected size given a list of dim sizes,
836-
// stopping (not including) the first zero.
837-
static size_t expected_size(std::initializer_list<size_t> dims) {
838-
size_t total = 1;
839-
for (size_t s : dims) {
840-
if (s == 0) return total == 1 ? 0 : total;
841-
total *= s;
842-
}
843-
return total;
844-
}
845-
846834
TEST_CASE("IndexRangeND.zero_size.size.low_dimensions") {
847835
// 2D
848836
{

0 commit comments

Comments
 (0)