mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-01-13 19:08:06 -05:00
* 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
18 lines
361 B
Python
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()
|