]> www.ginac.de Git - ginac.git/blobdiff - check/paranoia_check.cpp
- changed behaviour of numeric::is_rational() and added numeric::is_cinteger()
[ginac.git] / check / paranoia_check.cpp
index 228d84653700626b9729e953a937fc9b9adb0491..3eb4185c86521d07132541ec1df97f615cc27e1b 100644 (file)
@@ -3,8 +3,9 @@
  *  This set of tests checks for some of GiNaC's oopses which showed up during
  *  development.  Things were evaluated wrongly and so.  It should not find such
  *  a sick behaviour again.  But since we are paranoic and we want to exclude
- *  that behaviour for good...
- *
+ *  that behaviour for good... */
+
+/*
  *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
 
 #include <ginac/ginac.h>
 
+#ifndef NO_GINAC_NAMESPACE
+using namespace GiNaC;
+#endif // ndef NO_GINAC_NAMESPACE
+
 // The very first pair of historic problems had its roots in power.cpp and was
 // finally resolved on April 27th. (Fixing the first on April 23rd actually
 // introduced the second.)
@@ -236,7 +241,7 @@ unsigned paranoia_check(void)
     result += paranoia_check7();
     result += paranoia_check8();
 
-    if (! result) {
+    if (!result) {
         cout << " passed ";
         clog << "(no output)" << endl;
     } else {