catch2/projects/SelfTest
Martin Hořeňovský d2d418a9cb
Add a Relative Comparison matcher for floating point numbers
It checks Knuth's _close enough with tolerance_ relationship, that
is `|lhs - rhs| <= epsilon * max(|lhs|, |rhs|)`, rather then the
_very close with tolerance_ relationship that can be written down as
`|lhs - rhs| <= 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
2019-10-13 11:56:50 +02:00
..
Baselines Add a Relative Comparison matcher for floating point numbers 2019-10-13 11:56:50 +02:00
CompileTimePerfTests Added files for multiply inclusions of test cases 2017-11-17 15:46:57 +00:00
IntrospectiveTests Have the random generators use the global rng instance 2019-10-07 21:53:07 +02:00
Misc Add tests for the -f/--input-file command line argument 2019-10-09 12:54:13 +02:00
SurrogateCpps Sweep out some extra warnings 2017-09-07 17:25:15 +02:00
UsageTests Add a Relative Comparison matcher for floating point numbers 2019-10-13 11:56:50 +02:00
TestMain.cpp Remove unnecessary semicolons 2018-02-05 10:03:51 +01:00
WarnAboutNoTests.cmake Improve reporting of unmatched filters (#1684) 2019-08-06 20:51:19 +02:00