瀏覽代碼

minor fix for unit test to succeed (ctest)

Johannes Ruehle 11 年之前
父節點
當前提交
c767f31f46
共有 1 個文件被更改,包括 5 次插入1 次删除
  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