<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/projects/SelfTest/UsageTests/Matchers.tests.cpp, branch v2.10.2</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>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>
<entry>
<title>Remove unused partial specialization for MatcherMethod&lt;T&gt;</title>
<updated>2018-11-03T23:00:36+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-11-03T23:00:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d0eb9dfb9b95b97d31656acd13bb9cfb445bc734'/>
<id>d0eb9dfb9b95b97d31656acd13bb9cfb445bc734</id>
<content type='text'>
No matcher actually uses it, and there is no good reason for it,
as the best it can do for user is removing a single indirection
when using the pointer inside the matcher. Given the overhead of
other code that will be running during such time, it is completely
meaningless.

This also fixes compilation for PredicateMatcher&lt;const char*&gt;.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No matcher actually uses it, and there is no good reason for it,
as the best it can do for user is removing a single indirection
when using the pointer inside the matcher. Given the overhead of
other code that will be running during such time, it is completely
meaningless.

This also fixes compilation for PredicateMatcher&lt;const char*&gt;.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a bug in UnorderedEqualsMatcher</title>
<updated>2018-09-28T13:30:02+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-09-28T13:30:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=be49a539e421a783c7962e170b1102d44a728702'/>
<id>be49a539e421a783c7962e170b1102d44a728702</id>
<content type='text'>
Previously a mismatched prefix would be skipped before the actual
comparison would be performed. Obviously, it is supposed to be
_matching_ prefix that is skipped.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously a mismatched prefix would be skipped before the actual
comparison would be performed. Obviously, it is supposed to be
_matching_ prefix that is skipped.
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure platform-independent output from SpecialException::what</title>
<updated>2018-05-12T18:37:13+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-05-12T18:37:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=e5fe3e877af40f3bd027f333831dbf554286a496'/>
<id>e5fe3e877af40f3bd027f333831dbf554286a496</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
