Ajout des cas de tests pour les TP non-graphiques. Cleanage en tous genres.
[GPU.git] / WCudaMSE / Student_Cuda / src / cpp / test / mainTest.cpp
index d6a5144..a97db2e 100755 (executable)
@@ -8,7 +8,10 @@
 #include "cudaTools.h"
 
 #include "TestHello.h"
-
+#include "TestSaucisson.h"
+#include "TestProduitScalaire.h"
+#include "TestHistogramme.h"
+#include "TestMonteCarlo.h"
 
 using std::string;
 using std::cout;
@@ -64,6 +67,10 @@ bool testALL()
     Suite testSuite;
 
     testSuite.add(std::auto_ptr<Suite>(new TestHello(deviceId)));
+    testSuite.add(std::auto_ptr<Suite>(new TestSaucisson(deviceId)));
+    testSuite.add(std::auto_ptr<Suite>(new TestProduitScalaire(deviceId)));
+    testSuite.add(std::auto_ptr<Suite>(new TestHistogramme(deviceId)));
+    testSuite.add(std::auto_ptr<Suite>(new TestMonteCarlo(deviceId)));
 
     string titre = "deviceId_" + StringTools::toString(deviceId);