Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / Student_OMP / src / cpp / test / unit / 02_Test_Pi / TestPi.h
diff --git a/WCudaMSE/Student_OMP/src/cpp/test/unit/02_Test_Pi/TestPi.h b/WCudaMSE/Student_OMP/src/cpp/test/unit/02_Test_Pi/TestPi.h
new file mode 100755 (executable)
index 0000000..f9f0f4f
--- /dev/null
@@ -0,0 +1,39 @@
+#ifndef TEST_PI_H\r
+#define TEST_PI_H\r
+\r
+#include "cpptest.h"\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    Declaration                                     *|\r
+ \*---------------------------------------------------------------------*/\r
+\r
+\r
+class TestPi: public Test::Suite\r
+    {\r
+    public:\r
+\r
+       TestPi(void);\r
+\r
+    private:\r
+\r
+       void testSequentiel(void);\r
+       void testEntrelacerPromotionTab(void);\r
+       void testEntrelacerAtomic(void);\r
+       void testEntrelacerCritical(void);\r
+       void testCritical(void);\r
+       void testAtomic(void);\r
+       void testPromotionTab(void);\r
+       void testForReduction(void);\r
+\r
+    private:\r
+\r
+       int n;\r
+\r
+    };\r
+\r
+#endif\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    End                                             *|\r
+ \*---------------------------------------------------------------------*/\r
+\r