Test guidance instructions for entering and leaving mini roundabouts
This commit is contained in:
parent
bd707b0cfc
commit
9cdc9008aa
66
features/guidance/mini-roundabout.feature
Normal file
66
features/guidance/mini-roundabout.feature
Normal file
@ -0,0 +1,66 @@
|
||||
@routing @guidance
|
||||
Feature: Mini Roundabout
|
||||
|
||||
Background:
|
||||
Given the profile "car"
|
||||
Given a grid size of 10 meters
|
||||
|
||||
Scenario: Enter and Exit mini roundabout
|
||||
Given the node map
|
||||
| a | b | c | d |
|
||||
|
||||
And the ways
|
||||
| nodes | highway | name |
|
||||
| ab | tertiary | MySt |
|
||||
| bc | mini_roundabout | |
|
||||
| cd | tertiary | MySt |
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | turns | # |
|
||||
| a | d | MySt,MySt | depart,arrive | # suppress enter/exit mini roundabouts |
|
||||
|
||||
Scenario: Enter and Exit subsequent mini roundabouts
|
||||
Given the node map
|
||||
| a | b | c | d | e |
|
||||
|
||||
And the ways
|
||||
| nodes | highway | name |
|
||||
| ab | tertiary | MySt |
|
||||
| bc | mini_roundabout | |
|
||||
| cd | mini_roundabout | |
|
||||
| de | tertiary | MySt |
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | turns | # |
|
||||
| a | e | MySt,MySt | depart,arrive | # suppress multiple enter/exit mini roundabouts |
|
||||
|
||||
Scenario: Enter and Exit mini roundabout with sharp angle
|
||||
Given the node map
|
||||
| a | b | |
|
||||
| | c | d |
|
||||
|
||||
And the ways
|
||||
| nodes | highway | name |
|
||||
| ab | tertiary | MySt |
|
||||
| bc | mini_roundabout | |
|
||||
| cd | tertiary | MySt |
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | turns | # |
|
||||
| a | d | MySt,MySt | depart,arrive | # suppress multiple enter/exit mini roundabouts |
|
||||
|
||||
Scenario: Enter and Exit mini roundabout with sharp angle
|
||||
Given the node map
|
||||
| a | b | e |
|
||||
| | c | d |
|
||||
|
||||
And the ways
|
||||
| nodes | highway | name |
|
||||
| ab | tertiary | MySt |
|
||||
| bc | mini_roundabout | |
|
||||
| cd | tertiary | MySt |
|
||||
| be | tertiary | MySt |
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | turns | # |
|
||||
| a | d | MySt,MySt,MySt | depart,turn right,arrive | # suppress multiple enter/exit mini roundabouts |
|
Loading…
Reference in New Issue
Block a user