Skip to content

Commit

Permalink
Sliproad case with a single intersection in a cross-road
Browse files Browse the repository at this point in the history
  • Loading branch information
oxidase committed Sep 11, 2017
1 parent 4ea3f33 commit b7eb110
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion features/guidance/dedicated-turn-roads.feature
Original file line number Diff line number Diff line change
Expand Up @@ -995,4 +995,31 @@ Feature: Slipways and Dedicated Turn Lanes

When I route I should get
| waypoints | route | turns | locations |
| s,f | sabc,dbef,dbef | depart,turn right,arrive | s,a,f |
| s,f | sabc,dbef,dbef | depart,turn right,arrive | s,a,f |

@sliproads
Scenario: Sliproad with a single intersection in a cross-road
Given the node map
"""
d
.
s . a . b
` .
' c . g
..
e
.
f
"""

And the ways
| nodes | highway | name | oneway |
| sab | primary | sab | |
| dbcef | primary | dbcef | |
| ae | primary_link | ae | yes |
| cg | primary | cg | |


When I route I should get
| waypoints | route | turns | locations |
| s,f | sab,ae,dbcef,dbcef | depart,turn right,turn slight right,arrive | s,a,e,f |

0 comments on commit b7eb110

Please sign in to comment.