Skip to content

Commit 3fc9131

Browse files
author
Michael Koval
committed
Added start=goal test for PlanToConfiguration
1 parent 6eaabad commit 3fc9131

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/planning/methods/PlanToConfiguration.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ def PlanFromStartToGoalConfiguration(self, config_start, config_goal):
6868

6969

7070
class PlanToConfigurationStraightLineTest(object):
71+
def test_PlanToConfiguration_AlreadyAtGoal_FindsSolution(self):
72+
self.PlanFromStartToGoalConfiguration(self.waypoint1, self.waypoint1)
73+
self.PlanFromStartToGoalConfiguration(self.waypoint2, self.waypoint2)
74+
self.PlanFromStartToGoalConfiguration(self.waypoint3, self.waypoint3)
75+
7176
def test_PlanToConfiguration_StraightLineIsFeasible_FindsSolution(self):
7277
self.PlanFromStartToGoalConfiguration(self.waypoint1, self.waypoint2)
7378
self.PlanFromStartToGoalConfiguration(self.waypoint2, self.waypoint3)

0 commit comments

Comments
 (0)