5 extern int test_I (int iterations);
6 extern int test_MI (int iterations);
7 extern int test_nt (int iterations);
12 int test_all (int iterations)
15 error |= test_I(iterations);
16 error |= test_MI(iterations);
17 error |= test_nt(iterations);
21 int main (int argc, char* argv[])
23 int iterations = 10000;
24 if ((argc >= 3) && !::strcmp(argv[1],"-i")) {
25 iterations = atoi(argv[2]);
31 if (!test_all(iterations)) {
32 cout << "Tests passed." << endl;
35 cout << "Tests failed." << endl;