cuke test for roundabout instructions
This commit is contained in:
parent
bf0b43aa24
commit
cb28b2de07
30
features/bicycle/roundabout.feature
Normal file
30
features/bicycle/roundabout.feature
Normal file
@ -0,0 +1,30 @@
|
||||
@routing @bicycle @roundabout @instruction
|
||||
Feature: Roundabout Instructions
|
||||
|
||||
Background:
|
||||
Given the profile "bicycle"
|
||||
|
||||
Scenario: Bicycle - Roundabout instructions
|
||||
Given the node map
|
||||
| | | t | | |
|
||||
| | | b | | |
|
||||
| s | a | | c | u |
|
||||
| | | d | | |
|
||||
| | | v | | |
|
||||
|
||||
And the ways
|
||||
| nodes | junction |
|
||||
| sa | |
|
||||
| tb | |
|
||||
| uc | |
|
||||
| vd | |
|
||||
| abcda | roundabout |
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | turns |
|
||||
| s | v | sa,vd | head,enter_roundabout,destination |
|
||||
| s | u | sa,uc | head,enter_roundabout,destination |
|
||||
| s | t | sa,tb | head,enter_roundabout,destination |
|
||||
| u | t | uc,tb | head,enter_roundabout,destination |
|
||||
| u | s | uc,sa | head,enter_roundabout,destination |
|
||||
| u | v | uc,vd | head,enter_roundabout,destination |
|
30
features/car/roundabout.feature
Normal file
30
features/car/roundabout.feature
Normal file
@ -0,0 +1,30 @@
|
||||
@routing @car @roundabout @instruction
|
||||
Feature: Roundabout Instructions
|
||||
|
||||
Background:
|
||||
Given the profile "car"
|
||||
|
||||
Scenario: Car - Roundabout instructions
|
||||
Given the node map
|
||||
| | | t | | |
|
||||
| | | b | | |
|
||||
| s | a | | c | u |
|
||||
| | | d | | |
|
||||
| | | v | | |
|
||||
|
||||
And the ways
|
||||
| nodes | junction |
|
||||
| sa | |
|
||||
| tb | |
|
||||
| uc | |
|
||||
| vd | |
|
||||
| abcda | roundabout |
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | turns |
|
||||
| s | v | sa,vd | head,enter_roundabout,destination |
|
||||
| s | u | sa,uc | head,enter_roundabout,destination |
|
||||
| s | t | sa,tb | head,enter_roundabout,destination |
|
||||
| u | t | uc,tb | head,enter_roundabout,destination |
|
||||
| u | s | uc,sa | head,enter_roundabout,destination |
|
||||
| u | v | uc,vd | head,enter_roundabout,destination |
|
Loading…
Reference in New Issue
Block a user