Lines Matching defs:validate
63 constexpr void test_sequence_container_with_input(std::array<T, N>&& input, ValidateFunc validate) {
72 validate(c);
85 validate(c);
95 constexpr void test_sequence_container(ValidateFunc validate) {
97 test_sequence_container_with_input<Container, T, Iter, Sent, Alloc>(std::array{0, 5, 12, 7, -1, 8, 26}, validate);
99 test_sequence_container_with_input<Container, T, Iter, Sent, Alloc>(std::array<int, 0>{}, validate);
101 test_sequence_container_with_input<Container, T, Iter, Sent, Alloc>(std::array{5}, validate);
116 constexpr void test_vector_bool(ValidateFunc validate) {
119 std::array{true, false, false, true, false, true, true, true, false, true}, validate);
121 test_sequence_container_with_input<std::vector, bool, Iter, Sent, Alloc>(std::array<bool, 0>{}, validate);
123 test_sequence_container_with_input<std::vector, bool, Iter, Sent, Alloc>(std::array{true}, validate);