add test case illustrating 4205

This commit is contained in:
Moritz Kobitzsch 2017-06-30 11:08:26 +02:00 committed by Patrick Niklaus
parent e47e8ed335
commit 2522f70f86

View File

@ -1371,3 +1371,75 @@ Feature: Simple Turns
When I route I should get
| waypoints | route |
| g,e | abcde,abcde |
Scenario: small ticks in roads
Given the node map
"""
e
`
`
`
`
d
c
a - - - - - - - b``
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
f
"""
And the ways
| nodes | oneway | name |
| abc | yes | fww |
| fcde | no | jahn |
When I route I should get
| waypoints | route | turns |
| a,f | fww,jahn,jahn | depart,turn straight,arrive |
| a,e | fww,jahn,jahn | depart,turn left,arrive |