diff options
| author | Martin Hořeňovský | 2026-02-15 22:55:48 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2026-02-15 22:55:48 +0100 |
| commit | 29c9844f688acb27c87338c39cd186ebfe41aa19 (patch) | |
| tree | 82526279e11e38f055605e0dcdbfc04ebfe63752 /docs/generators.md | |
| parent | 56024c04e42172d53a1672b9af6a538afdb79801 (diff) | |
| download | catch3-3.13.0.tar.gz | |
v3.13.0v3.13.0
Diffstat (limited to 'docs/generators.md')
| -rw-r--r-- | docs/generators.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/generators.md b/docs/generators.md index 5db2941b..b6ea0db2 100644 --- a/docs/generators.md +++ b/docs/generators.md @@ -132,7 +132,7 @@ a test case, > `IteratorGenerator<T>` was introduced in Catch2 2.10.0. -> `ConcatGenerator<T>` was introduced in Catch2 X.Y.Z +> `ConcatGenerator<T>` was introduced in Catch2 3.13.0 The generators also have associated helper functions that infer their type, making their usage much nicer. These are @@ -159,7 +159,7 @@ type, making their usage much nicer. These are > `range()` for floating point numbers has been introduced in Catch2 2.11.0 -> `cat` has been introduced in Catch2 X.Y.Z +> `cat` has been introduced in Catch2 3.13.0 And can be used as shown in the example below to create a generator that returns 100 odd random number: @@ -288,9 +288,9 @@ struct IGenerator : GeneratorUntypedBase { }; ``` -> `skipToNthElementImpl` was added in Catch2 vX.Y.Z +> `skipToNthElementImpl` was added in Catch2 3.13.0 -> `isFinite` was added in Catch2 vX.Y.Z +> `isFinite` was added in Catch2 3.13.0 However, to be able to use your custom generator inside `GENERATE`, it will need to be wrapped inside a `GeneratorWrapper<T>`. |