<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/projects/SelfTest/UsageTests/Matchers.tests.cpp, branch v2.12.1</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>Fixup template type argument inference for vector matchers</title>
<updated>2020-04-21T17:09:45+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-04-21T17:09:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=f4fc2dab2c5bb8cab11b0a0dde8a8421076c30f9'/>
<id>f4fc2dab2c5bb8cab11b0a0dde8a8421076c30f9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Support custom allocators in vector Matchers (#1909)</title>
<updated>2020-04-16T13:36:54+00:00</updated>
<author>
<name>schallerr</name>
</author>
<published>2020-04-16T13:36:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=38f897c88772d6640196d1bd617ebbcaf44bc05a'/>
<id>38f897c88772d6640196d1bd617ebbcaf44bc05a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix significant bug with storing composed matchers</title>
<updated>2020-02-01T20:06:07+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-02-01T19:55:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=f20a9dbc6e115eeb2b48288bfb27234c29f7417a'/>
<id>f20a9dbc6e115eeb2b48288bfb27234c29f7417a</id>
<content type='text'>
Given that in the 2 or so years that matchers are thing nobody complained,
it seems that people do not actually write this sort of code, and the
possibility will be removed in v3. However, to avoid correctness bugs,
we will have to support this weird code in v2.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Given that in the 2 or so years that matchers are thing nobody complained,
it seems that people do not actually write this sort of code, and the
possibility will be removed in v3. However, to avoid correctness bugs,
we will have to support this weird code in v2.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use scientific notation for the WithinULP matcher</title>
<updated>2019-10-20T10:30:21+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-20T10:30:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=9e8ae7d4701770c3f4f23414214634f59809fa71'/>
<id>9e8ae7d4701770c3f4f23414214634f59809fa71</id>
<content type='text'>
This should now properly handle small numbers which would previously
output something like `[0.00000000000000019, 0.00000000000000019]`,
which does not allow user to read the numbers properly.

Closes #1760
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should now properly handle small numbers which would previously
output something like `[0.00000000000000019, 0.00000000000000019]`,
which does not allow user to read the numbers properly.

Closes #1760
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a matcher that checks exception's message</title>
<updated>2019-10-13T18:37:07+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-13T18:37:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=2cc0c718562d41a9900daca3ba53b6753515ee49'/>
<id>2cc0c718562d41a9900daca3ba53b6753515ee49</id>
<content type='text'>
Only works for exceptions that publicly derive from `std::exception`
and the matching is done exactly, including case and whitespace.

Closes #1649
Closes #1728

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch master
# Your branch is up-to-date with 'origin/master'.
#
# Changes to be committed:
#	modified:   ../docs/matchers.md
#	modified:   ../include/internal/catch_capture_matchers.h
#	modified:   ../projects/CMakeLists.txt
#	modified:   ../projects/SelfTest/Baselines/compact.sw.approved.txt
#	modified:   ../projects/SelfTest/Baselines/console.std.approved.txt
#	modified:   ../projects/SelfTest/Baselines/console.sw.approved.txt
#	modified:   ../projects/SelfTest/Baselines/junit.sw.approved.txt
#	modified:   ../projects/SelfTest/Baselines/xml.sw.approved.txt
#	modified:   ../projects/SelfTest/UsageTests/Matchers.tests.cpp
#
# Untracked files:
#	./
#	../clang-full/
#	../clang-test/
#	../clang10-build/
#	../coverage-build/
#	../gcc-build/
#	../gcc-full/
#	../include/internal/catch_matchers_exception.cpp
#	../include/internal/catch_matchers_exception.hpp
#	../misc-build/
#	../msvc-sln/
#	../notes.txt
#	../test-install/
#
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only works for exceptions that publicly derive from `std::exception`
and the matching is done exactly, including case and whitespace.

Closes #1649
Closes #1728

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch master
# Your branch is up-to-date with 'origin/master'.
#
# Changes to be committed:
#	modified:   ../docs/matchers.md
#	modified:   ../include/internal/catch_capture_matchers.h
#	modified:   ../projects/CMakeLists.txt
#	modified:   ../projects/SelfTest/Baselines/compact.sw.approved.txt
#	modified:   ../projects/SelfTest/Baselines/console.std.approved.txt
#	modified:   ../projects/SelfTest/Baselines/console.sw.approved.txt
#	modified:   ../projects/SelfTest/Baselines/junit.sw.approved.txt
#	modified:   ../projects/SelfTest/Baselines/xml.sw.approved.txt
#	modified:   ../projects/SelfTest/UsageTests/Matchers.tests.cpp
#
# Untracked files:
#	./
#	../clang-full/
#	../clang-test/
#	../clang10-build/
#	../coverage-build/
#	../gcc-build/
#	../gcc-full/
#	../include/internal/catch_matchers_exception.cpp
#	../include/internal/catch_matchers_exception.hpp
#	../misc-build/
#	../msvc-sln/
#	../notes.txt
#	../test-install/
#
</pre>
</div>
</content>
</entry>
<entry>
<title>Use the right overload of std::nextafter in tests</title>
<updated>2019-10-13T11:36:22+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-13T11:36:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=28663fb9594ae60109255625d8e6020a36331105'/>
<id>28663fb9594ae60109255625d8e6020a36331105</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a Relative Comparison matcher for floating point numbers</title>
<updated>2019-10-13T09:56:50+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-13T09:56:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d2d418a9cbda255e193c4ed6c57cdf20137fa309'/>
<id>d2d418a9cbda255e193c4ed6c57cdf20137fa309</id>
<content type='text'>
It checks Knuth's _close enough with tolerance_ relationship, that
is `|lhs - rhs| &lt;= epsilon * max(|lhs|, |rhs|)`, rather then the
_very close with tolerance_ relationship that can be written down as
`|lhs - rhs| &lt;= epsilon * min(|lhs|, |rhs|)`.

This is because it is the more common model around the internet, and
as such is likely to be less surprising to the users. In the future
we might want to provide the other model as well.

Closes #1746
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It checks Knuth's _close enough with tolerance_ relationship, that
is `|lhs - rhs| &lt;= epsilon * max(|lhs|, |rhs|)`, rather then the
_very close with tolerance_ relationship that can be written down as
`|lhs - rhs| &lt;= epsilon * min(|lhs|, |rhs|)`.

This is because it is the more common model around the internet, and
as such is likely to be less surprising to the users. In the future
we might want to provide the other model as well.

Closes #1746
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow full range of target ULP values for the ULPMatcher</title>
<updated>2019-10-05T11:38:22+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-05T11:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=c38a5caa2ebf0738e468f419c4d3ed857001cfb0'/>
<id>c38a5caa2ebf0738e468f419c4d3ed857001cfb0</id>
<content type='text'>
Previously it was limited to roughly 2 billion ULPs, rather than
the roughly 2^64 possible ones.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously it was limited to roughly 2 billion ULPs, rather than
the roughly 2^64 possible ones.
</pre>
</div>
</content>
</entry>
<entry>
<title>Show bound when stringifying the WithinULP matcher</title>
<updated>2019-06-15T05:12:27+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-06-14T18:16:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=7142d5a8c9aa241bd544952e4900c2fb220b5fae'/>
<id>7142d5a8c9aa241bd544952e4900c2fb220b5fae</id>
<content type='text'>
Closes #1581
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #1581
</pre>
</div>
</content>
</entry>
<entry>
<title>Added a vector approximate matcher</title>
<updated>2019-04-20T08:02:17+00:00</updated>
<author>
<name>Will Handley</name>
</author>
<published>2019-01-14T14:31:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=91b617c46298cec9479fb14141b645c5fdf6204c'/>
<id>91b617c46298cec9479fb14141b645c5fdf6204c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
