catch2/projects
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
..
ExtraTests Add an extra test for benchmarking macros 2019-06-06 21:29:25 +02:00
SelfTest Add a Relative Comparison matcher for floating point numbers 2019-10-13 11:56:50 +02:00
XCode/OCTest Fix typos identified by codespell. 2019-04-10 09:42:11 +02:00
CMakeLists.txt Add tests for the -f/--input-file command line argument 2019-10-09 12:54:13 +02:00