test/doc/examples/boost_test_string.output
Raffi Enficiaud 923a84a2dd String comparison can now be used with BOOST_TEST additional compare options
- enabling modifiers per_element and lexicographic for strings
2016-11-02 22:03:19 +01:00

18 lines
776 B
Plaintext

//[example_output
> ./boost_test_strings
Running 2 test cases...
test.cpp:17: error: in "test_pointers": check pa == pb has failed [0x7fff54f9dea4 != 0x7fff54f9dea0]
test.cpp:25: error: in "test_strings": check a == b has failed [test1 != test2]
test.cpp:27: error: in "test_strings": check std::string("test1") == b has failed [test1 != test2]
test.cpp:28: error: in "test_strings": check std::string("test1") < a has failed
Mismatch at position 0: 't' >= 't'.
Mismatch at position 1: 'e' >= 'e'.
Mismatch at position 2: 's' >= 's'.
Mismatch at position 3: 't' >= 't'.
Mismatch at position 4: '1' >= '1'.
test.cpp:29: error: in "test_strings": check b < a has failed
Failure at position 4: '2' >= '1'.
*** 5 failures are detected in the test module "boost_test_strings"
//]