• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //[example_output
2 > ./boost_test_strings
3 Running 2 test cases...
4 test.cpp:17: error: in "test_pointers": check pa == pb has failed [0x7fff54f9dea4 != 0x7fff54f9dea0]
5 test.cpp:25: error: in "test_strings": check a == b has failed [test1 != test2]
6 test.cpp:27: error: in "test_strings": check std::string("test1") == b has failed [test1 != test2]
7 test.cpp:28: error: in "test_strings": check std::string("test1") < a has failed
8 Mismatch at position 0: 't' >= 't'.
9 Mismatch at position 1: 'e' >= 'e'.
10 Mismatch at position 2: 's' >= 's'.
11 Mismatch at position 3: 't' >= 't'.
12 Mismatch at position 4: '1' >= '1'.
13 test.cpp:29: error: in "test_strings": check b < a has failed
14 Failure at position 4: '2' >= '1'.
15 
16 *** 5 failures are detected in the test module "boost_test_strings"
17 //]
18