Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / Student_OMP / src / cpp / test / unit / 01_Test_Hello / TestHello.cpp
diff --git a/WCudaMSE/Student_OMP/src/cpp/test/unit/01_Test_Hello/TestHello.cpp b/WCudaMSE/Student_OMP/src/cpp/test/unit/01_Test_Hello/TestHello.cpp
new file mode 100755 (executable)
index 0000000..7e1bd61
--- /dev/null
@@ -0,0 +1,38 @@
+#include "TestHello.h"
+
+
+/*----------------------------------------------------------------------*\
+ |*                    Declaration                                     *|
+ \*---------------------------------------------------------------------*/
+
+/*--------------------------------------*\
+ |*            Imported                *|
+ \*-------------------------------------*/
+
+extern void helloOMP1(void);
+extern void helloOMP2(void);
+
+/*----------------------------------------------------------------------*\
+ |*                    Implementation                                  *|
+ \*---------------------------------------------------------------------*/
+
+TestHello::TestHello(void)
+    {
+    TEST_ADD(TestHello::testHelloOMP1);
+    TEST_ADD(TestHello::testHelloOMP2);
+    }
+
+void TestHello::testHelloOMP1(void)
+    {
+    helloOMP1();
+    }
+
+void TestHello::testHelloOMP2(void)
+    {
+    helloOMP2();
+    }
+
+/*----------------------------------------------------------------------*\
+ |*                    End                                             *|
+ \*---------------------------------------------------------------------*/
+