<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/docs/matchers.md, branch v2.5.0</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 PredicateMatcher that takes an arbitrary predicate functions</title>
<updated>2018-04-04T09:14:19+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-04-03T21:28:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=1ca8f43b011ad61f4627a3339333406f15a46431'/>
<id>1ca8f43b011ad61f4627a3339333406f15a46431</id>
<content type='text'>
Also adds `Predicate` helper function to create `PredicateMatcher`.
Because of limitations in type inference it needs to be explicitly
typed, like so
`Predicate&lt;std::string&gt;([](std::string const&amp; str) { ... })`.
It also takes an optional second argument for description of the
predicate.

It is possible to infer the argument with sufficient TMP, see
https://stackoverflow.com/questions/43560492/how-to-extract-lambdas-return-type-and-variadic-parameters-pack-back-from-gener/43561563#43561563
but I don't think that the magic is worth introducing ATM.

Closes #1236
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also adds `Predicate` helper function to create `PredicateMatcher`.
Because of limitations in type inference it needs to be explicitly
typed, like so
`Predicate&lt;std::string&gt;([](std::string const&amp; str) { ... })`.
It also takes an optional second argument for description of the
predicate.

It is possible to infer the argument with sufficient TMP, see
https://stackoverflow.com/questions/43560492/how-to-extract-lambdas-return-type-and-variadic-parameters-pack-back-from-gener/43561563#43561563
but I don't think that the magic is worth introducing ATM.

Closes #1236
</pre>
</div>
</content>
</entry>
<entry>
<title>Provide a regex matcher against std::string</title>
<updated>2017-11-13T14:35:31+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-11-13T14:35:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=b0857e846fc82c2d26b57170f6d5d0f5abb27fa5'/>
<id>b0857e846fc82c2d26b57170f6d5d0f5abb27fa5</id>
<content type='text'>
Related to #1040
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Related to #1040
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ULP and margin matcher</title>
<updated>2017-11-10T17:33:00+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-11-10T17:14:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=0b1f1b10030942c38ca8c1b95140b0c65efc903e'/>
<id>0b1f1b10030942c38ca8c1b95140b0c65efc903e</id>
<content type='text'>
Closes #1074
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #1074
</pre>
</div>
</content>
</entry>
<entry>
<title>Let toplevel links to .md files link to .md#top</title>
<updated>2017-08-24T17:40:36+00:00</updated>
<author>
<name>Martin Moene</name>
</author>
<published>2017-08-24T13:33:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=6c09b45a2076552131c73d1a70da164bcc138c69'/>
<id>6c09b45a2076552131c73d1a70da164bcc138c69</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add html anchor 'top'</title>
<updated>2017-08-24T17:40:36+00:00</updated>
<author>
<name>Martin Moene</name>
</author>
<published>2017-08-24T13:21:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=e8225052f18773960c04b8db253144c03e70c3fb'/>
<id>e8225052f18773960c04b8db253144c03e70c3fb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update matchers docs to reflect namespace usage</title>
<updated>2017-08-03T17:11:21+00:00</updated>
<author>
<name>Cody Han</name>
</author>
<published>2017-08-03T02:47:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d5613fb18a6a2bc54ac5a4ce50f3e36ea2560166'/>
<id>d5613fb18a6a2bc54ac5a4ce50f3e36ea2560166</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Documented the new vector matchers</title>
<updated>2017-02-24T14:42:11+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-02-24T14:42:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=593161ddd818058e98fff95e1e3b394f65f51996'/>
<id>593161ddd818058e98fff95e1e3b394f65f51996</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Matcher documentation</title>
<updated>2017-02-14T09:16:54+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2017-02-14T09:15:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d4ae1b18c0c22b6b8653ccbac4c5a0902fb4546b'/>
<id>d4ae1b18c0c22b6b8653ccbac4c5a0902fb4546b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
