• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //  (C) Copyright Gennadiy Rozental 2001-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 //  File        : $RCSfile$
9 //
10 //  Version     : $Revision$
11 //
12 //  Description : static library usage variant with custom init test
13 // ***************************************************************************
14 
15 // Boost.Test
16 #include <boost/test/unit_test.hpp>
17 
BOOST_AUTO_TEST_CASE(test)18 BOOST_AUTO_TEST_CASE( test )
19 {
20     int i = 1;
21     BOOST_CHECK( i*i == 1 );
22 }
23 
24 //____________________________________________________________________________//
25 
26 boost::unit_test::test_suite*
init_unit_test_suite(int,char * [])27 init_unit_test_suite( int /*argc*/, char* [] /*argv*/ ) {
28     boost::unit_test::framework::master_test_suite().p_name.value = "Custom init func";
29 
30     return 0;
31 }
32 
33 //____________________________________________________________________________//
34 
35 // EOF
36