Lines Matching refs:array
31 test_bounded_array<T, 5> array = {T(1), T(2), T(3), T(4), T(5)}; in tests() local
32 CHECK(array.size() == 5); in tests()
33 CHECK(array[0] == T(1)); in tests()
34 CHECK(array[1] == T(2)); in tests()
35 CHECK(array[2] == T(3)); in tests()
36 CHECK(array[3] == T(4)); in tests()
37 CHECK(array[4] == T(5)); in tests()
41 test_bounded_array<T, 5> array{T(1), T(2), T(3), T(4), T(5)}; in tests() local
42 CHECK(array.size() == 5); in tests()
43 CHECK(array[0] == T(1)); in tests()
44 CHECK(array[1] == T(2)); in tests()
45 CHECK(array[2] == T(3)); in tests()
46 CHECK(array[3] == T(4)); in tests()
47 CHECK(array[4] == T(5)); in tests()
52 test_bounded_array<T, 0> array = {}; in tests() local
53 CHECK(array.size() == 0); in tests()