16 test<int>(
xrange( 1), {0});
17 test<int>(
xrange( 2), {0, 1});
18 test<int>(
xrange(10), {0, 1, 2, 3, 4, 5, 6, 7, 8, 9});
20 test<int>(
xrange(5, 5), {});
21 test<int>(
xrange(5, 6), {5});
22 test<int>(
xrange(5, 7), {5, 6});
23 test<int>(
xrange(5, 10), {5, 6, 7, 8, 9});
25 test<unsigned long long>(
xrange(0ULL), {});
26 test<unsigned long long>(
xrange(1ULL), {0ULL});
27 test<unsigned long long>(
xrange(2ULL), {0ULL, 1ULL});
28 test<unsigned long long>(
30 {0ULL, 1ULL, 2ULL, 3ULL, 4ULL, 5ULL, 6ULL, 7ULL, 8ULL, 9ULL});
32 test<unsigned long long>(
xrange(5ULL, 5ULL), {});
33 test<unsigned long long>(
xrange(5ULL, 6ULL), {5ULL});
34 test<unsigned long long>(
xrange(5ULL, 7ULL), {5ULL, 6ULL});
35 test<unsigned long long>(
37 {5ULL, 6ULL, 7ULL, 8ULL, 9ULL});
38 test<unsigned long long>(
39 xrange(0x112233445566ULL, 0x112233445568ULL),
40 {0x112233445566ULL, 0x112233445567ULL});
imat4 i4(ivec4(1, 2, 3, 4), ivec4(3, 4, 5, 6), ivec4(5, 6, 7, 8), ivec4(7, 8, 9, 0))
imat4 j4(ivec4(1, 0, 3, 4), ivec4(3, 4, 5, 6), ivec4(5, 6, 7, 8), ivec4(7, 8, 9, 0))
imat3 j3(ivec3(1, 2, 3), ivec3(4, 5, 6), ivec3(7, 0, 9))
imat3 i3(ivec3(1, 2, 3), ivec3(4, 5, 6), ivec3(7, 8, 9))