#define BOOST_TEST_MODULE main #include #include #include "FtoC.h" using namespace std; BOOST_AUTO_TEST_SUITE(other_test_demo) BOOST_AUTO_TEST_CASE(message_and_error) { BOOST_TEST_MESSAGE("This is from BOOST_MESSAGE."); BOOST_ERROR("This is from BOOST_ERROR."); BOOST_TEST_MESSAGE("This is from BOOST_MESSAGE again."); } BOOST_AUTO_TEST_CASE(fail) { BOOST_TEST_MESSAGE("Start of fail test."); BOOST_FAIL("This is from BOOST_FAIL."); BOOST_TEST_MESSAGE("End of fail test."); } BOOST_AUTO_TEST_CASE(post_fail) { BOOST_TEST_MESSAGE("In post_fail test."); } BOOST_AUTO_TEST_SUITE_END()