1 |
#include "BruceTestCase.h" |
2 |
#include "BruceFactoryTestCase.h" |
3 |
|
4 |
#include "CppUnitTest/TestRunner.h" |
5 |
|
6 |
using namespace CppUnitTest; |
7 |
|
8 |
int main(int argc, char* argv[]) |
9 |
{ |
10 |
// |
11 |
// object which runs all of the tests |
12 |
TestRunner runner; |
13 |
// |
14 |
// add the RangeTestCase suite of tests to the runner |
15 |
runner.addTest ("Bruce", BruceTestCase::suite()); |
16 |
runner.addTest ("BruceFactory", BruceFactoryTestCase::suite()); |
17 |
|
18 |
// actually run the unit tests. |
19 |
runner.run (argc, argv); |
20 |
return 0; |
21 |
} |
22 |
|