Lines Matching refs:GENERATE
13 auto i = GENERATE(1, 2, 3);
15 auto j = GENERATE( -3, -2, -1 );
26 There are 2 parts to generators in Catch2, the `GENERATE` macro together
34 * `GENERATE` macro, that serves to integrate generator expression with
74 auto i = GENERATE(take(100, filter([](int i) { return i % 2 == 1; }, random(-100, 100))));
83 Apart from registering generators with Catch2, the `GENERATE` macro has
86 as `auto i = GENERATE(1, 2, 3);`. This usage converted each of the three
89 used with other generators as arguments, such as `auto i = GENERATE(0, 2,
93 **For safety reasons, you cannot use variables inside the `GENERATE` macro.**
101 auto str = GENERATE(as<std::string>{}, "a", "bb", "ccc");`
125 However, to be able to use your custom generator inside `GENERATE`, it