Home | History | Annotate | Download | only in tests

Lines Matching refs:Bounds

678     template <class Bounds>
679 void fn(const Bounds&)
681 static_assert(Bounds::static_size == 60, "static bounds is wrong size");
687 fn(av.bounds());
712 CHECK((av.first<2>().bounds() == static_bounds<2>()));
719 CHECK((av.first<0>().bounds() == static_bounds<0>()));
726 CHECK((av.first<5>().bounds() == static_bounds<5>()));
734 CHECK(av.first<6>().bounds() == static_bounds<6>());
743 CHECK((av.first<0>().bounds() == static_bounds<0>()));
755 CHECK((av.last<2>().bounds() == static_bounds<2>()));
762 CHECK((av.last<0>().bounds() == static_bounds<0>()));
769 CHECK((av.last<5>().bounds() == static_bounds<5>()));
777 CHECK((av.last<6>().bounds() == static_bounds<6>()));
785 CHECK((av.last<0>().bounds() == static_bounds<0>()));
797 CHECK((av.subspan<2, 2>().bounds() == static_bounds<2>()));
805 CHECK((av.subspan<0, 0>().bounds() == static_bounds<0>()));
812 CHECK((av.subspan<0, 5>().bounds() == static_bounds<5>()));
821 CHECK((av.subspan<5, 0>().bounds() == static_bounds<0>()));
829 CHECK((av.subspan<0, 0>().bounds() == static_bounds<0>()));
1081 // out of bounds
1229 CHECK(empty_av.bounds().index_bounds() == index<1>{0});
1241 CHECK(empty_av.bounds().index_bounds() == index<1>{0});
1421 CHECK(section.bounds().index_bounds()[0] == length);
1422 CHECK(section.bounds().index_bounds()[1] == 1);
1423 for (auto i = 0; i < section.bounds().index_bounds()[0]; ++i) {
1424 for (auto j = 0; j < section.bounds().index_bounds()[1]; ++j) {
1463 // static bounds
1478 // both bounds are dynamic
1507 // both bounds are dynamic