Skip to content

Commit

Permalink
Test for a ramp bifurcation obviousness
Browse files Browse the repository at this point in the history
  • Loading branch information
oxidase committed Feb 19, 2018
1 parent a8bc2cf commit 04c3a73
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions features/guidance/motorway.feature
Original file line number Diff line number Diff line change
Expand Up @@ -299,3 +299,22 @@ Feature: Motorway Guidance
| waypoints | route | turns |
| a,e | abcde,abcde | depart,arrive |
| a,g | abcde,bfg,bfg | depart,off ramp slight right,arrive |


Scenario: Ramp Bifurcations should not be suppressed
Given the node map
"""
/-----------c
a---b------------d
"""

And the ways
| nodes | highway | name | destination |
| ab | motorway_link | | |
| bc | motorway_link | | City 17 |
| bd | motorway_link | | Ravenholm |

When I route I should get
| waypoints | route | turns |
| a,c | ,, | depart,turn slight left,arrive |
| a,d | , | depart,arrive |

0 comments on commit 04c3a73

Please sign in to comment.