mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-01-13 10:37:54 -05:00
add test_rectangle_fitting.py (#444)
* add test_rectangle_fitting.py * add test_rectangle_fitting.py
This commit is contained in:
22
tests/test_rectangle_fitting.py
Normal file
22
tests/test_rectangle_fitting.py
Normal file
@@ -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()
|
||||
Reference in New Issue
Block a user