]> www.ginac.de Git - cln.git/blobdiff - tests/test_I.cc
Move factorial check from test section to exam section...
[cln.git] / tests / test_I.cc
index 06dc83bdd0f4bfcafbe590596199cad1c8d68d0e..8e5ea63f494dd4604a71ebe70f4ef469a005b42c 100644 (file)
@@ -1,4 +1,4 @@
-#include <cl_io.h>
+#include <iostream>
 
 // Elementary operations.
 extern int test_I_abs (int iterations);
@@ -43,12 +43,14 @@ extern int test_I_power2p (int iterations);
 extern int test_I_isqrt (int iterations);
 extern int test_I_sqrtp (int iterations);
 // Miscellaneous.
+extern int test_I_io (int iterations);
 extern int test_I_GV (int iterations);
 
 #define RUN(tester,iterations)  \
-       fprint(cl_stdout,"Testing "#tester"...\n"); \
+       std::cout << "Testing "#tester"..." << std::endl; \
        error |= tester (iterations);
 
+
 int test_I (int iterations)
 {
        int error = 0;
@@ -95,6 +97,7 @@ int test_I (int iterations)
        RUN(test_I_isqrt,iterations);
        RUN(test_I_sqrtp,iterations);
        // Miscellaneous.
+       RUN(test_I_io,iterations);
        RUN(test_I_GV,iterations);
        return error;
 }