From 2d5024dc386b1d84ade7cdbdda7d5aaab58cf57b Mon Sep 17 00:00:00 2001 From: Atsushi Sakai Date: Sun, 20 Dec 2020 16:16:35 +0900 Subject: [PATCH] add test_rectangle_fitting.py (#444) * add test_rectangle_fitting.py * add test_rectangle_fitting.py --- tests/test_rectangle_fitting.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tests/test_rectangle_fitting.py diff --git a/tests/test_rectangle_fitting.py b/tests/test_rectangle_fitting.py new file mode 100644 index 00000000..2a283206 --- /dev/null +++ b/tests/test_rectangle_fitting.py @@ -0,0 +1,22 @@ +from unittest import TestCase + +import sys +import os + +sys.path.append(os.path.dirname(os.path.abspath(__file__)) + + "/../Mapping/rectangle_fitting/") + +try: + from Mapping.rectangle_fitting import rectangle_fitting as m +except ImportError: + raise + + +print(__file__) + + +class Test(TestCase): + + def test1(self): + m.show_animation = False + m.main()