Skip to content

Commit

Permalink
Satisfy doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
akukanov committed Sep 5, 2024
1 parent 39f2ef7 commit f0df4e6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/conformance/conformance_blocked_rangeNd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,11 @@ TEST_CASE("Construction") {
for (unsigned i = 0; i < rNd_1.dim_count(); ++i) {
oneapi::tbb::blocked_rangeNd<int, 4>::dim_range_type dim1 = rNd_1.dim(i);
oneapi::tbb::blocked_rangeNd<int, 4>::dim_range_type dim2 = rNd_2.dim(i);
REQUIRE(dim1.begin()==0 && dim2.begin()==0);
REQUIRE(dim1.begin()==0);
REQUIRE(dim2.begin()==0);
unsigned int szi = sizes[i]; // to compare with unsigned integrals without warnings
REQUIRE(dim1.size()==szi && dim2.size()==szi);
REQUIRE(dim1.size()==szi);
REQUIRE(dim2.size()==szi);
REQUIRE(dim1.grainsize()==7);
REQUIRE(dim2.grainsize()==11);
}
Expand Down

0 comments on commit f0df4e6

Please sign in to comment.