<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/tests/SelfTest/UsageTests/MatchersRanges.tests.cpp, branch v3.0.0-preview2</title>
<subtitle>Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.</subtitle>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/'/>
<entry>
<title>Add IsEmpty and SizeIs matchers for ranges/containers</title>
<updated>2020-03-27T09:24:08+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-03-09T10:13:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=3a3efebd163f19dc8b9d8bbed4ab5309fc752867'/>
<id>3a3efebd163f19dc8b9d8bbed4ab5309fc752867</id>
<content type='text'>
`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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add generic Contains matcher</title>
<updated>2020-03-27T09:22:25+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-03-02T13:25:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=007efc173a6cf64f625f4b75f40d7f4ebd3c0b34'/>
<id>007efc173a6cf64f625f4b75f40d7f4ebd3c0b34</id>
<content type='text'>
It matches a range iff the range contains a specific element,
or an element in the range matches the provided matcher.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It matches a range iff the range contains a specific element,
or an element in the range matches the provided matcher.
</pre>
</div>
</content>
</entry>
</feed>
