]> www.ginac.de Git - ginac.git/blobdiff - check/main.cpp
- added simple checks of manipulations with lortensor objects.
[ginac.git] / check / main.cpp
index ef74535d9ef63437dc4aaf62f3f93c5f602598e8..b074ec1c23f986231b324a02a04fa0eb5d018b51 100644 (file)
@@ -1,7 +1,8 @@
 /** @file main.cpp
  *
- *  Main program that calls all individual tests.
- *
+ *  Main program that calls all individual tests. */
+
+/*
  *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -20,7 +21,8 @@
  */
 
 #include <stdexcept>
-#include <ginac/ginac.h>
+#include <iostream>
+
 #include "check.h"
 
 int main()
@@ -41,10 +43,11 @@ int main()
             result += fcntimer(matrix_checks);
             result += fcntimer(lsolve_onedim);
             result += fcntimer(series_expansion);
+            result += fcntimer(lortensor_check);
         }
     } catch (exception const & e) {
         cout << "error: caught an exception: " << e.what() << endl;
-               result++;
+        result++;
     }
     
     if (result) {