Browse Source

minor fix for unit test to succeed (ctest)

Johannes Ruehle 11 years ago
parent
commit
c767f31f46
1 changed files with 5 additions and 1 deletions
  1. 5 1
      math/cluster/tests/TestGMM.cpp

+ 5 - 1
math/cluster/tests/TestGMM.cpp

@@ -86,6 +86,8 @@ void TestGMM::testGMMClustering()
   //don't waste memory
   delete conf;
   
+  CPPUNIT_ASSERT(true);
+
   if (verboseStartEnd)
     std::cerr << "================== TestGMM::testGMMClustering done ===================== " << std::endl;
 }
@@ -142,9 +144,11 @@ void TestGMM::testGMMPersistent()
   //don't waste memory
   delete conf;
   
+  CPPUNIT_ASSERT(true);
+
   if (verboseStartEnd)
     std::cerr << "================== TestGMM::testGMMPersistent done ===================== " << std::endl;
 }
 
 
-#endif
+#endif