diff options
| author | Martin Hořeňovský | 2020-03-09 11:13:07 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2020-03-27 10:24:08 +0100 |
| commit | 3a3efebd163f19dc8b9d8bbed4ab5309fc752867 (patch) | |
| tree | ffc252431075ae2357b53d75caf2b27f96d03fbb /src/catch2/internal/catch_singletons.cpp | |
| parent | f52a58e857967124bedf5370b5b03f799c1db0b2 (diff) | |
| download | catch3-3a3efebd163f19dc8b9d8bbed4ab5309fc752867.tar.gz | |
Add IsEmpty and SizeIs matchers for ranges/containers
`SizeIs` can accept both `size_t` and a matcher. In the first case,
it checks whether the size of the range is equal to specified size.
In the second case, it checks whether the provided matcher accepts
the size of the range.
Diffstat (limited to 'src/catch2/internal/catch_singletons.cpp')
0 files changed, 0 insertions, 0 deletions