catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Fix WithinULP matcher factory name in docs
- Commit
73cae40a9031b31188b6ec9c8df61e7cfa762ca6- Author
- Martin Hořeňovský ·
- Parents
6c4c96120782
Changes
docs/matchers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/matchers.md b/docs/matchers.md index 536d1f81..6ee0c31f 100644 --- a/docs/matchers.md +++ b/docs/matchers.md @@ -145,7 +145,7 @@ Catch2 provides 3 matchers that target floating point numbers. These are: * `WithinAbs(double target, double margin)`, -* `WithinUlps(FloatingPoint target, uint64_t maxUlpDiff)`, and +* `WithinULP(FloatingPoint target, uint64_t maxUlpDiff)`, and * `WithinRel(FloatingPoint target, FloatingPoint eps)`. > `WithinRel` matcher was introduced in Catch2 2.10.0