handle trips with identical coordinates

This commit is contained in:
Moritz Kobitzsch
2016-10-17 13:24:42 +02:00
committed by Huyen Chau Nguyen
parent 8ed6bb8a1b
commit 46c936b48e
2 changed files with 23 additions and 4 deletions
+13
View File
@@ -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 | |