example15.run.cpp 625 B

12345678910111213141516171819202122
  1. // (C) Copyright Gennadiy Rozental 2011-2015.
  2. // Distributed under the Boost Software License, Version 1.0.
  3. // (See accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt)
  5. // See http://www.boost.org/libs/test for the library home page.
  6. //[example_code
  7. #include <boost/test/included/unit_test.hpp>
  8. using namespace boost::unit_test;
  9. BOOST_AUTO_TEST_CASE( free_test_function )
  10. {
  11. BOOST_TEST( true /* test assertion */ );
  12. }
  13. test_suite* init_unit_test_suite( int /*argc*/, char* /*argv*/[] )
  14. {
  15. framework::master_test_suite().p_name.value = "my master test suite name";
  16. return 0;
  17. }
  18. //]