소스 검색

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