You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* `SingleValueGenerator<T>` -- contains only single element
105
108
* `FixedValuesGenerator<T>` -- contains multiple elements
106
-
* 5 generic generators that modify other generators
109
+
* 5 generic generators that modify other generators (defined in `catch2/generators/catch_generators_adapters.hpp`)
107
110
* `FilterGenerator<T, Predicate>` -- filters out elements from a generator
108
111
for which the predicate returns "false"
109
112
* `TakeGenerator<T>` -- takes first `n` elements from a generator
110
113
* `RepeatGenerator<T>` -- repeats output from a generator `n` times
111
114
* `MapGenerator<T, U, Func>` -- returns the result of applying `Func`
112
115
on elements from a different generator
113
116
* `ChunkGenerator<T>` -- returns chunks (inside `std::vector`) of n elements from a generator
114
-
* 4 specific purpose generators
117
+
* 4 specific purpose generators (defined in `catch2/generators/catch_generators_random.hpp`)
115
118
* `RandomIntegerGenerator<Integral>` -- generates random Integrals from range
116
119
* `RandomFloatGenerator<Float>` -- generates random Floats from range
117
-
* `RangeGenerator<T>(first, last)` -- generates all values inside a `[first, last)` arithmetic range
118
-
* `IteratorGenerator<T>` -- copies and returns values from an iterator range
120
+
* `RangeGenerator<T>(first, last)` -- generates all values inside a `[first, last)` arithmetic range (defined in `catch2/generators/catch_generators_range.hpp`)
121
+
* `IteratorGenerator<T>` -- copies and returns values from an iterator range (defined in `catch2/generators/catch_generators_range.hpp`)
119
122
120
123
> `ChunkGenerator<T>`, `RandomIntegerGenerator<Integral>`, `RandomFloatGenerator<Float>` and `RangeGenerator<T>` were introduced in Catch2 2.7.0.
0 commit comments