Files
PythonRobotics/tests/test_bug.py
Sarim Mehdi 409be20b47 Implemented bug algorithms (#378)
* Create bug.py

* Update bug.py

* Update bug.py

* Update bug.py

* Update bug.py

* Update bug.py

* Add files via upload

* Update test_bug.py

* Update test_bug.py

* Update bug.py

* Update test_bug.py

* Delete bug.py

* Create BugPlanning

* Delete BugPlanning

* Create bug.py

* Update bug.py

* Update test_bug.py

* Update bug.py

* Update bug.py
2020-08-30 13:04:08 +09:00

18 lines
361 B
Python

from PathPlanning.BugPlanning import bug as b
from unittest import TestCase
import sys
import os
sys.path.append(os.path.dirname(__file__) + "/../")
class Test(TestCase):
def test(self):
b.show_animation = False
b.main(bug_0=True, bug_1=True, bug_2=True)
if __name__ == '__main__': # pragma: no cover
test = Test()
test.test()