Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMartin Hořeňovský2021-11-15 23:52:26 +0100
committerMartin Hořeňovský2021-11-15 23:52:26 +0100
commit2287d225e5595a0cbac14c69ec10b16f6b9488af (patch)
tree871f6c5f636c0cb095cc07f01cf1cbce8b1da372
parent4eb00afe69d4a7dec9cd24a6a757221a1097427c (diff)
downloadcatch3-2287d225e5595a0cbac14c69ec10b16f6b9488af.tar.gz
Mention that RangeGenerator works on half open ranges
Closes #2145
-rw-r--r--docs/generators.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/generators.md b/docs/generators.md
index b8164f82..7a865d43 100644
--- a/docs/generators.md
+++ b/docs/generators.md
@@ -114,7 +114,7 @@ a test case,
* 4 specific purpose generators
* `RandomIntegerGenerator<Integral>` -- generates random Integrals from range
* `RandomFloatGenerator<Float>` -- generates random Floats from range
- * `RangeGenerator<T>` -- generates all values inside an arithmetic range
+ * `RangeGenerator<T>(first, last)` -- generates all values inside a `[first, last)` arithmetic range
* `IteratorGenerator<T>` -- copies and returns values from an iterator range
> `ChunkGenerator<T>`, `RandomIntegerGenerator<Integral>`, `RandomFloatGenerator<Float>` and `RangeGenerator<T>` were introduced in Catch2 2.7.0.