]> www.ginac.de Git - ginac.git/blobdiff - check/times.cpp
- Two more tests from the Lewis-Wester paper.
[ginac.git] / check / times.cpp
index 54f36b83a546360322900fe8d60270584925275e..65ca3baffc4467411841bd5ab74c3371cd1656cd 100644 (file)
@@ -124,7 +124,23 @@ int main()
         cout << "Error: caught exception " << e.what() << endl;
         ++result;
     }
-
+    
+    try {
+        for (int i=0; i<1; ++i)
+            result += time_lw_P();
+    } catch (const exception &e) {
+        cout << "Error: caught exception " << e.what() << endl;
+        ++result;
+    }
+    
+    try {
+        for (int i=0; i<1; ++i)
+            result += time_lw_Pprime();
+    } catch (const exception &e) {
+        cout << "Error: caught exception " << e.what() << endl;
+        ++result;
+    }
+    
     if (result) {
         cout << "Error: something went wrong. ";
         if (result == 1) {