/* * test.cpp * * Created on: Jan 12, 2014 * Author: ilyaivensky */ #include using boost::unit_test_framework::test_suite; void foo() { BOOST_CHECK(true); } boost::unit_test_framework::test_suite * init_unit_test_suite(int argc, char *argv[]) { test_suite* test = BOOST_TEST_SUITE("Foo"); test->add(BOOST_TEST_CASE(&foo)); return test; } int run_test(int argc, char* argv[]) { boost::unit_test::init_unit_test_func init_func = &init_unit_test_suite; return ::boost::unit_test::unit_test_main(init_func, argc, argv ); }