18 explicit DumbCheck(
const bool _result) : result(_result)
22 std::optional<int> operator()()
const
24 if (result)
return std::nullopt;
37 std::vector<DumbCheck> checks_1;
38 std::vector<DumbCheck> checks_2;
40 for (
int i = 0; i < size; ++i) {
41 const bool result = fuzzed_data_provider.
ConsumeBool();
42 checks_1.emplace_back(result);
43 checks_2.emplace_back(result);
46 check_queue_1.Add(std::move(checks_1));
49 (void)check_queue_1.Complete();
54 check_queue_control.
Add(std::move(checks_2));
57 (void)check_queue_control.Complete();
RAII-style controller object for a CCheckQueue that guarantees the passed queue is finished before co...
void Add(std::vector< T > &&vChecks)
Queue for verifications that have to be performed.
T ConsumeIntegralInRange(T min, T max)