Skip to content

Commit 2d5024d

Browse files
authored
add test_rectangle_fitting.py (AtsushiSakai#444)
* add test_rectangle_fitting.py * add test_rectangle_fitting.py
1 parent f9e2293 commit 2d5024d

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

tests/test_rectangle_fitting.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
from unittest import TestCase
2+
3+
import sys
4+
import os
5+
6+
sys.path.append(os.path.dirname(os.path.abspath(__file__)) +
7+
"/../Mapping/rectangle_fitting/")
8+
9+
try:
10+
from Mapping.rectangle_fitting import rectangle_fitting as m
11+
except ImportError:
12+
raise
13+
14+
15+
print(__file__)
16+
17+
18+
class Test(TestCase):
19+
20+
def test1(self):
21+
m.show_animation = False
22+
m.main()

0 commit comments

Comments
 (0)