• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//[example_output
2> ./boost_test_macro_overview --log_level=all
3Running 1 test case...
4Entering test module "boost_test_macro_overview"
5test.cpp:12: Entering test case "test_macro_overview"
6test.cpp:17: error: in "test_macro_overview": check a != b - 1 has failed [1 == 1]
7test.cpp:18: error: in "test_macro_overview": check a + 1 < b has failed [1 + 1 >= 2]
8test.cpp:19: error: in "test_macro_overview": 1 < 1 does not hold
9test.cpp:20: error: in "test_macro_overview": check a == b has failed [1 != 2]. Bitwise comparison failed
10Mismatch at position 0
11Mismatch at position 1
12test.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]
13test.cpp:12: Leaving test case "test_macro_overview"; testing time: 380us
14Leaving test module "boost_test_macro_overview"; testing time: 459us
15
16*** 5 failures are detected in the test module "boost_test_macro_overview"
17//]
18