1234567891011121314151617 |
- //[example_output
- > ./boost_test_macro_overview --log_level=all
- Running 1 test case...
- Entering test module "boost_test_macro_overview"
- test.cpp:12: Entering test case "test_macro_overview"
- test.cpp:17: error: in "test_macro_overview": check a != b - 1 has failed [1 == 1]
- test.cpp:18: error: in "test_macro_overview": check a + 1 < b has failed [1 + 1 >= 2]
- test.cpp:19: error: in "test_macro_overview": 1 < 1 does not hold
- test.cpp:20: error: in "test_macro_overview": check a == b has failed [1 != 2]. Bitwise comparison failed
- Mismatch at position 0
- Mismatch at position 1
- test.cpp:21: error: in "test_macro_overview": check a + 0.1 == b - 0.8 has failed [1 + 0.10000000000000001 != 1.2]. Relative difference exceeds tolerance [0.0909091 > 0.01]
- test.cpp:12: Leaving test case "test_macro_overview"; testing time: 380us
- Leaving test module "boost_test_macro_overview"; testing time: 459us
- *** 5 failures are detected in the test module "boost_test_macro_overview"
- //]
|