handle trips with identical coordinates
This commit is contained in:
committed by
Huyen Chau Nguyen
parent
8ed6bb8a1b
commit
46c936b48e
@@ -108,4 +108,17 @@ Feature: Basic trip planning
|
||||
| waypoints | trips |
|
||||
| 1,2 | |
|
||||
|
||||
Scenario: Testbot - Repeated Coordinate
|
||||
Given the node map
|
||||
"""
|
||||
a b
|
||||
"""
|
||||
|
||||
And the ways
|
||||
| nodes |
|
||||
| ab |
|
||||
|
||||
When I plan a trip I should get
|
||||
| waypoints | trips |
|
||||
| a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a | |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user