test/doc/examples/tolerance_06.output
Raffi Enficiaud 80d342a806 Relaxed tolerance based comparisons
It is now possible to compare a type that is tolerance based together
with a type that is not necessarily tolerance based but still
arithmetic.

Doc update and tests.
2019-02-08 01:32:54 +01:00

7 lines
266 B
Plaintext

//[example_output
> tolerance_06
Running 1 test case...
test.cpp(21): error: in "test1": check x == 3 has failed [3.1415924049158361 != 3]. Relative difference exceeds tolerance [0.0471975 > 0.0471667]
*** 1 failure is detected in the test module "tolerance_06"
//]