#define BOOST_TEST_MODULE f_to_c_test_suite #include #include #include "FtoC.h" using namespace std; BOOST_AUTO_TEST_SUITE(f_to_c) BOOST_AUTO_TEST_CASE(basic_tests) { BOOST_TEST(0 != FtoC(32)); BOOST_TEST(101 == FtoC(212), "Bad result of less than"); BOOST_TEST(212 < CtoF(100)); BOOST_TEST(32 == CtoF(0)); } BOOST_AUTO_TEST_CASE(basic_tests2) { BOOST_TEST(0 == FtoC(32)); } BOOST_AUTO_TEST_SUITE_END()