Lines Matching full:generate

8     auto i = GENERATE(1, 2, 3);
10 auto j = GENERATE(values({ -3, -2, -1 }));
16 auto str = GENERATE(as<std::string>{}, "a", "bb", "ccc");
23 auto x = GENERATE(1, 2, 3);
24 auto y = GENERATE(4, 5, 6);
25 auto z = GENERATE(7, 8, 9);
37 // auto data = GENERATE(table<char const*, int>({
46 auto data = GENERATE(table<char const*, int>({
61 auto [test_input, expected] = GENERATE( table<std::string, size_t>({
77 auto data = GENERATE( values<Data>({
103 auto [start, eat, left] = GENERATE( table<int,int,int> ({
123 … auto i = GENERATE(filter([] (int val) { return val % 2 == 0; }, values({ 1, 2, 3, 4, 5, 6 }))); in __anon6d0e25ea0102()
133 auto i = GENERATE(take(3, values({ 1, 2, 3, 4, 5, 6 })));
139 auto i = GENERATE(map([] (int val) { return val * 2; }, values({ 1, 2, 3 }))); in __anon6d0e25ea0302()
144 …auto i = GENERATE(map<std::string>([] (int val) { return std::to_string(val); }, values({ 1, 2, 3 … in __anon6d0e25ea0402()
149 … auto i = GENERATE(map([] (int val) { return std::to_string(val); }, values({ 1, 2, 3 }))); in __anon6d0e25ea0502()
155 auto j = GENERATE(repeat(2, values({ 1, 2, 3 })));
160 auto chunk2 = GENERATE(chunk(2, values({ 1, 1, 2, 2, 3, 3 })));
165 auto chunk2 = GENERATE(chunk(2, values({ 1, 1, 2, 2, 3 })));
171 auto chunk2 = GENERATE(take(3, chunk(0, value(1))));
185 auto val = GENERATE(take(4, random(0, 1)));
191 auto val = GENERATE(take(4, random(0., 1.)));
202 // Set up 3 ranges to generate numbers from
203 auto extent = GENERATE(table<int, int>({
233 TEST_CASE("Copy and then generate a range", "[generators]") {
244 auto elem = GENERATE(from_range(make_data_counted()));