From 339dc7826abe2c10a0359319ec5700b308e773f5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Renaud=20N=C3=A9d=C3=A9lec?= Date: Thu, 1 Oct 2015 17:10:23 +0200 Subject: [PATCH] [Sketcher API] unit test exepriment --- src/PythonAPI/unit_test_experiment/CMakeLists.txt | 2 ++ src/PythonAPI/unit_test_experiment/test.py | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 src/PythonAPI/unit_test_experiment/CMakeLists.txt create mode 100644 src/PythonAPI/unit_test_experiment/test.py diff --git a/src/PythonAPI/unit_test_experiment/CMakeLists.txt b/src/PythonAPI/unit_test_experiment/CMakeLists.txt new file mode 100644 index 000000000..a90bdef98 --- /dev/null +++ b/src/PythonAPI/unit_test_experiment/CMakeLists.txt @@ -0,0 +1,2 @@ +enable_testing() +add_test(NAME "test" COMMAND "python" "test.py") diff --git a/src/PythonAPI/unit_test_experiment/test.py b/src/PythonAPI/unit_test_experiment/test.py new file mode 100644 index 000000000..9a5184a4a --- /dev/null +++ b/src/PythonAPI/unit_test_experiment/test.py @@ -0,0 +1,8 @@ +import unittest + +class Test(unittest.TestCase): + def test_assert_false(self): + self.assertFalse(False) + +if __name__ == "__main__": + unittest.main() -- 2.39.2