diff options
| author | Martin Hořeňovský | 2019-10-13 23:44:18 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2019-10-13 23:44:18 +0200 |
| commit | 7c9f92bc1c6e82ad5b6af8dff9f97af880fae9c6 (patch) | |
| tree | d8bc58457176ac973c4a4c8f60c34cdb154af151 /docs/generators.md | |
| parent | a92a7d02290eae896413a7d96e4875587c0dcd42 (diff) | |
| download | catch3-2.10.0.tar.gz | |
v2.10.0v2.10.0
Diffstat (limited to 'docs/generators.md')
| -rw-r--r-- | docs/generators.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/generators.md b/docs/generators.md index 34565a50..61276f3c 100644 --- a/docs/generators.md +++ b/docs/generators.md @@ -54,7 +54,7 @@ a test case, > `ChunkGenerator<T>`, `RandomIntegerGenerator<Integral>`, `RandomFloatGenerator<Float>` and `RangeGenerator<T>` were introduced in Catch 2.7.0. -> `IteratorGenerator<T>` was introduced in Catch X.Y.Z. +> `IteratorGenerator<T>` was introduced in Catch 2.10.0. The generators also have associated helper functions that infer their type, making their usage much nicer. These are @@ -76,7 +76,7 @@ type, making their usage much nicer. These are > `chunk()`, `random()` and both `range()` functions were introduced in Catch 2.7.0. -> `from_range` has been introduced in Catch X.Y.Z +> `from_range` has been introduced in Catch 2.10.0 And can be used as shown in the example below to create a generator that returns 100 odd random number: |