test/doc/examples/tolerance_04.output
2015-06-02 22:18:05 +02:00

8 lines
388 B
Plaintext

//[example_output
> tolerance_04
Running 1 test case...
test.cpp(23): error: in "test1": check x == y has failed [501/50 != 1001/100]. Relative difference exceeds tolerance [1/1001 > 1/2000]
test.cpp(26): error: in "test1": check x != z has failed [501/50 == 10/1]. Relative difference is within tolerance [1/501 < 1/500]
*** 2 failures are detected in the test module "tolerance_04"
//]