Sliproads test case with acute angle at the main intersection

This commit is contained in:
Michael Krasnyk 2017-08-03 09:05:08 +02:00
parent 1ecc913fc2
commit a5efcfdede

View File

@ -971,3 +971,28 @@ Feature: Slipways and Dedicated Turn Lanes
| waypoints | route | turns | locations |
| s,f | sabct,dbef,dbef | depart,turn right,arrive | s,a,f |
| f,t | dbef,sabct,sabct | depart,turn right,arrive | f,e,t |
@sliproads
Scenario: Sliproad and acute angle (50°) at the main intersection
Given the node map
"""
d
/
s . a . . b . c
` /
' /
e
/
f
"""
And the ways
| nodes | highway | name | oneway |
| sabc | primary | sabc | |
| dbef | primary | dbef | |
| ae | primary_link | ae | yes |
When I route I should get
| waypoints | route | turns | locations |
| s,f | sabc,ae,dbef,dbef | depart,turn right,turn slight right,arrive | s,a,e,f |