5 extern int test_I (int iterations);
6 extern int test_MI (int iterations);
7 extern int test_nt (int iterations);
9 int test_all (int iterations)
12 error |= test_I(iterations);
13 error |= test_MI(iterations);
14 error |= test_nt(iterations);
18 int main (int argc, char* argv[])
20 int iterations = 10000;
21 if ((argc >= 3) && !strcmp(argv[1],"-i")) {
22 iterations = atoi(argv[2]);
28 if (!test_all(iterations)) {
29 fprint (cl_stdout, "Tests passed.\n");
32 fprint (cl_stdout, "Tests failed.\n");