1 /***************************************************************************
4 copyright : (C) 2004 by Sebastian Stein
5 email : seb.kde@hpfsc.de
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
16 ***************************************************************************/
19 #include <boost/test/unit_test.hpp>
20 using boost::unit_test_framework::test_suite
;
23 #include "primenumber_test.cpp"
24 #include "ratio_test.cpp"
26 // test program entry point
27 test_suite
* init_unit_test_suite(int /* argc */, char** /* argv */)
29 // create the top test suite
30 std::auto_ptr
<test_suite
> top_test_suite(BOOST_TEST_SUITE("Master test suite"));
32 // add test suites to the top test suite
33 top_test_suite
->add(new primenumber_test_suite());
34 top_test_suite
->add(new ratio_test_suite());
36 return top_test_suite
.release();