-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Labels
enhancementNew feature or requestNew feature or requestunit-testAdds or modifies a unit testAdds or modifies a unit test
Description
According to the Catch2 documentation
We strongly recommend against using Approx when writing new code. You should be using floating point matchers instead.
The tests should accordingly use
WithinAbs(double target, double margin),WithinRel(FloatingPoint target, FloatingPoint eps)andWithinULP(FloatingPoint target, uint64_t maxUlpDiff)
wavefunction91
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestunit-testAdds or modifies a unit testAdds or modifies a unit test