moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kbruch / testcases / kbruch_test.cpp
blobb4e978d1b192f946d36609fe712f8e941e22f4d2
1 /***************************************************************************
3 begin : 2004-05-25
4 copyright : (C) 2004 by Sebastian Stein
5 email : seb.kde@hpfsc.de
7 ***************************************************************************/
9 /***************************************************************************
10 * *
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. *
15 * *
16 ***************************************************************************/
18 // for BOOST testing
19 #include <boost/test/unit_test.hpp>
20 using boost::unit_test_framework::test_suite;
22 // the test classes
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();