• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //  (C) Copyright Andrzej Krzemienski 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 
6 //  See http://www.boost.org/libs/test for the library home page.
7 
8 //[example_code
9 #include <boost/test/included/unit_test.hpp>
10 #include <iostream>
11 
BOOST_AUTO_TEST_CASE(test1)12 BOOST_AUTO_TEST_CASE(test1)
13 {
14   BOOST_TEST(false);
15 }
16 
init_unit_test_suite(int,char * [])17 boost::unit_test::test_suite* init_unit_test_suite(int /*argc*/, char* /*argv*/[])
18 {
19   std::cout << "using obsolete init" << std::endl;
20   return 0;
21 }
22 //]
23