Add a from_range(Container) overload to the generator helpers

This commit is contained in:
Martin Hořeňovský
2019-10-09 14:51:24 +02:00
parent 1c5749669e
commit c8db4e77c4
8 changed files with 293 additions and 60 deletions

View File

@@ -72,6 +72,7 @@ type, making their usage much nicer. These are
* `range(start, end)` for `RangeGenerator<T>` with a step size of `1`
* `range(start, end, step)` for `RangeGenerator<T>` with a custom step size
* `from_range(InputIterator from, InputIterator to)` for `IteratorGenerator<T>`
* `from_range(Container const&)` for `IteratorGenerator<T>`
> `chunk()`, `random()` and both `range()` functions were introduced in Catch 2.7.0.