Update bicycle tests to reflect not cutting off arrive step

This commit is contained in:
Lauren Budorick 2016-03-31 16:25:08 -07:00 committed by Patrick Niklaus
parent 97722adbfa
commit d09827b501
13 changed files with 213 additions and 213 deletions

View File

@ -17,15 +17,15 @@ Feature: Bike - Squares and other areas
| abcda | yes | residential | | abcda | yes | residential |
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| a | b | abcda | | a | b | abcda,abcda |
| a | d | abcda | | a | d | abcda,abcda |
| b | c | abcda | | b | c | abcda,abcda |
| c | b | abcda | | c | b | abcda,abcda |
| c | d | abcda | | c | d | abcda,abcda |
| d | c | abcda | | d | c | abcda,abcda |
| d | a | abcda | | d | a | abcda,abcda |
| a | d | abcda | | a | d | abcda,abcda |
@building @building
Scenario: Bike - Don't route on buildings Scenario: Bike - Don't route on buildings
@ -65,17 +65,18 @@ Feature: Bike - Squares and other areas
| abcda | (nil) | parking | | abcda | (nil) | parking |
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| x | y | xa,abcda,by | | x | y | xa,abcda,by,by |
| y | x | by,abcda,xa | | y | x | by,abcda,xa,xa |
| a | b | abcda | | a | b | abcda,abcda |
| a | d | abcda | | a | d | abcda,abcda |
| b | c | abcda | | b | c | abcda,abcda |
| c | b | abcda | | c | b | abcda,abcda |
| c | d | abcda | | c | d | abcda,abcda |
| d | c | abcda | | d | c | abcda,abcda |
| d | a | abcda | | d | a | abcda,abcda |
| a | d | abcda | | a | d | abcda,abcda |
@train @platform @mokob @2154 @train @platform @mokob @2154
Scenario: Bike - railway platforms Scenario: Bike - railway platforms
@ -90,14 +91,14 @@ Feature: Bike - Squares and other areas
| abcda | (nil) | platform | | abcda | (nil) | platform |
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| x | y | xa,abcda,by | | x | y | xa,abcda,by,by |
| y | x | by,abcda,xa | | y | x | by,abcda,xa,xa |
| a | b | abcda | | a | b | abcda,abcda |
| a | d | abcda | | a | d | abcda,abcda |
| b | c | abcda | | b | c | abcda,abcda |
| c | b | abcda | | c | b | abcda,abcda |
| c | d | abcda | | c | d | abcda,abcda |
| d | c | abcda | | d | c | abcda,abcda |
| d | a | abcda | | d | a | abcda,abcda |
| a | d | abcda | | a | d | abcda,abcda |

View File

@ -17,15 +17,15 @@ Feature: Bicycle - Handle movable bridge
| efg | primary | | | | efg | primary | | |
When I route I should get When I route I should get
| from | to | route | modes | | from | to | route | modes |
| a | g | abc,cde,efg | cycling,movable bridge,cycling | | a | g | abc,cde,efg,efg | cycling,movable bridge,cycling,cycling |
| b | f | abc,cde,efg | cycling,movable bridge,cycling | | b | f | abc,cde,efg,efg | cycling,movable bridge,cycling,cycling |
| e | c | cde | movable bridge | | e | c | cde,cde | movable bridge,movable bridge |
| e | b | cde,abc | movable bridge,cycling | | e | b | cde,abc,abc | movable bridge,cycling,cycling |
| e | a | cde,abc | movable bridge,cycling | | e | a | cde,abc,abc | movable bridge,cycling,cycling |
| c | e | cde | movable bridge | | c | e | cde,cde | movable bridge,movable bridge |
| c | f | cde,efg | movable bridge,cycling | | c | f | cde,efg,efg | movable bridge,cycling,cycling |
| c | g | cde,efg | movable bridge,cycling | | c | g | cde,efg,efg | movable bridge,cycling,cycling |
Scenario: Bicycle - Properly handle durations Scenario: Bicycle - Properly handle durations
Given the node map Given the node map
@ -40,8 +40,8 @@ Feature: Bicycle - Handle movable bridge
| efg | primary | | | | efg | primary | | |
When I route I should get When I route I should get
| from | to | route | modes | speed | | from | to | route | modes | speed |
| a | g | abc,cde,efg | cycling,movable bridge,cycling | 5 km/h | | a | g | abc,cde,efg,efg | cycling,movable bridge,cycling,cycling | 5 km/h |
| b | f | abc,cde,efg | cycling,movable bridge,cycling | 4 km/h | | b | f | abc,cde,efg,efg | cycling,movable bridge,cycling,cycling | 4 km/h |
| c | e | cde | movable bridge | 2 km/h | | c | e | cde,cde | movable bridge,movable bridge | 2 km/h |
| e | c | cde | movable bridge | 2 km/h | | e | c | cde,cde | movable bridge,movable bridge | 2 km/h |

View File

@ -17,15 +17,15 @@ Feature: Bike - Handle ferry routes
| efg | primary | | | | efg | primary | | |
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| a | g | abc,cde,efg | | a | g | abc,cde,efg,efg |
| b | f | abc,cde,efg | | b | f | abc,cde,efg,efg |
| e | c | cde | | e | c | cde,cde |
| e | b | cde,abc | | e | b | cde,abc,abc |
| e | a | cde,abc | | e | a | cde,abc,abc |
| c | e | cde | | c | e | cde,cde |
| c | f | cde,efg | | c | f | cde,efg,efg |
| c | g | cde,efg | | c | g | cde,efg,efg |
Scenario: Bike - Ferry duration, single node Scenario: Bike - Ferry duration, single node
Given the node map Given the node map
@ -59,5 +59,5 @@ Feature: Bike - Handle ferry routes
When I route I should get When I route I should get
| from | to | route | time | | from | to | route | time |
| a | d | abcd | 3600s +-10 | | a | d | abcd,abcd | 3600s +-10 |
| d | a | abcd | 3600s +-10 | | d | a | abcd,abcd | 3600s +-10 |

View File

@ -48,9 +48,9 @@ Feature: Bike - Max speed restrictions
| bc | residential | 80 | | bc | residential | 80 |
When I route I should get When I route I should get
| from | to | route | speed | | from | to | route | speed |
| a | b | ab | 15 km/h | | a | b | ab,ab | 15 km/h |
| b | c | bc | 15 km/h | | b | c | bc,bc | 15 km/h |
Scenario: Bike - Forward/backward maxspeed Scenario: Bike - Forward/backward maxspeed
Given the shortcuts Given the shortcuts

View File

@ -16,13 +16,13 @@ Feature: Bike - Mode flag
| cd | primary | | | | cd | primary | | |
When I route I should get When I route I should get
| from | to | route | turns | modes | | from | to | route | turns | modes |
| a | d | ab,bc,cd | depart,right,left,arrive | cycling,ferry,cycling | | a | d | ab,bc,cd,cd | depart,right,left,arrive | cycling,ferry,cycling,cycling |
| d | a | cd,bc,ab | depart,right,left,arrive | cycling,ferry,cycling | | d | a | cd,bc,ab,ab | depart,right,left,arrive | cycling,ferry,cycling,cycling |
| c | a | bc,ab | depart,left,arrive | ferry,cycling | | c | a | bc,ab,ab | depart,left,arrive | ferry,cycling,cycling |
| d | b | cd,bc | depart,right,arrive | cycling,ferry | | d | b | cd,bc,bc | depart,right,arrive | cycling,ferry,ferry |
| a | c | ab,bc | depart,right,arrive | cycling,ferry | | a | c | ab,bc,bc | depart,right,arrive | cycling,ferry,ferry |
| b | d | bc,cd | depart,left,arrive | ferry,cycling | | b | d | bc,cd,cd | depart,left,arrive | ferry,cycling,cycling |
Scenario: Bike - Mode when using a train Scenario: Bike - Mode when using a train
Given the node map Given the node map
@ -36,15 +36,14 @@ Feature: Bike - Mode flag
| cd | primary | | | | cd | primary | | |
When I route I should get When I route I should get
| from | to | route | turns | modes | | from | to | route | turns | modes |
| a | d | ab,bc,cd | depart,right,left,arrive | cycling,train,cycling | | a | d | ab,bc,cd,cd | depart,right,left,arrive | cycling,train,cycling,cycling |
| d | a | cd,bc,ab | depart,right,left,arrive | cycling,train,cycling | | d | a | cd,bc,ab,ab | depart,right,left,arrive | cycling,train,cycling,cycling |
| c | a | bc,ab | depart,left,arrive | train,cycling | | c | a | bc,ab,ab | depart,left,arrive | train,cycling,cycling |
| d | b | cd,bc | depart,right,arrive | cycling,train | | d | b | cd,bc,bc | depart,right,arrive | cycling,train,train |
| a | c | ab,bc | depart,right,arrive | cycling,train | | a | c | ab,bc,bc | depart,right,arrive | cycling,train,train |
| b | d | bc,cd | depart,left,arrive | train,cycling | | b | d | bc,cd,cd | depart,left,arrive | train,cycling,cycling |
@mokobreview
Scenario: Bike - Mode when pushing bike against oneways Scenario: Bike - Mode when pushing bike against oneways
Given the node map Given the node map
| a | b | | | a | b | |
@ -57,13 +56,13 @@ Feature: Bike - Mode flag
| cd | primary | | | cd | primary | |
When I route I should get When I route I should get
| from | to | route | turns | modes | | from | to | route | turns | modes |
| a | d | ab,bc,cd | depart,right,left,arrive | cycling,cycling,cycling | | a | d | ab,bc,cd,cd | depart,right,left,arrive | cycling,cycling,cycling,cycling |
| d | a | cd,bc,ab | depart,right,left,arrive | cycling,pushing bike,cycling | | d | a | cd,bc,ab,ab | depart,right,left,arrive | cycling,pushing bike,cycling,cycling |
| c | a | bc,ab | depart,left,arrive | pushing bike,cycling | | c | a | bc,ab,ab | depart,left,arrive | pushing bike,cycling,cycling |
| d | b | cd,bc | depart,right,arrive | cycling,pushing bike | | d | b | cd,bc,bc | depart,right,arrive | cycling,pushing bike,pushing bike |
| a | c | ab,bc | depart,right,arrive | cycling,cycling | | a | c | ab,bc,bc | depart,right,arrive | cycling,cycling,cycling |
| b | d | bc,cd | depart,left,arrive | cycling,cycling | | b | d | bc,cd,cd | depart,left,arrive | cycling,cycling,cycling |
Scenario: Bike - Mode when pushing on pedestrain streets Scenario: Bike - Mode when pushing on pedestrain streets
Given the node map Given the node map
@ -77,13 +76,13 @@ Feature: Bike - Mode flag
| cd | primary | | cd | primary |
When I route I should get When I route I should get
| from | to | route | turns | modes | | from | to | route | turns | modes |
| a | d | ab,bc,cd | depart,right,left,arrive | cycling,pushing bike,cycling | | a | d | ab,bc,cd,cd | depart,right,left,arrive | cycling,pushing bike,cycling,cycling |
| d | a | cd,bc,ab | depart,right,left,arrive | cycling,pushing bike,cycling | | d | a | cd,bc,ab,ab | depart,right,left,arrive | cycling,pushing bike,cycling,cycling |
| c | a | bc,ab | depart,left,arrive | pushing bike,cycling | | c | a | bc,ab,ab | depart,left,arrive | pushing bike,cycling,cycling |
| d | b | cd,bc | depart,right,arrive | cycling,pushing bike | | d | b | cd,bc,bc | depart,right,arrive | cycling,pushing bike,pushing bike |
| a | c | ab,bc | depart,right,arrive | cycling,pushing bike | | a | c | ab,bc,bc | depart,right,arrive | cycling,pushing bike,pushing bike |
| b | d | bc,cd | depart,left,arrive | pushing bike,cycling | | b | d | bc,cd,cd | depart,left,arrive | pushing bike,cycling,cycling |
Scenario: Bike - Mode when pushing on pedestrain areas Scenario: Bike - Mode when pushing on pedestrain areas
Given the node map Given the node map
@ -97,13 +96,13 @@ Feature: Bike - Mode flag
| df | primary | | | df | primary | |
When I route I should get When I route I should get
| from | to | route | modes | | from | to | route | modes |
| a | f | ab,bcd,df | cycling,pushing bike,cycling | | a | f | ab,bcd,df,df | cycling,pushing bike,cycling,cycling |
| f | a | df,bcd,ab | cycling,pushing bike,cycling | | f | a | df,bcd,ab,ab | cycling,pushing bike,cycling,cycling |
| d | a | bcd,ab | pushing bike,cycling | | d | a | bcd,ab,ab | pushing bike,cycling,cycling |
| f | b | df,bcd | cycling,pushing bike | | f | b | df,bcd,bcd | cycling,pushing bike,pushing bike |
| a | d | ab,bcd | cycling,pushing bike | | a | d | ab,bcd,bcd | cycling,pushing bike,pushing bike |
| b | f | bcd,df | pushing bike,cycling | | b | f | bcd,df,df | pushing bike,cycling,cycling |
Scenario: Bike - Mode when pushing on steps Scenario: Bike - Mode when pushing on steps
Given the node map Given the node map
@ -117,13 +116,13 @@ Feature: Bike - Mode flag
| cd | primary | | cd | primary |
When I route I should get When I route I should get
| from | to | route | turns | modes | | from | to | route | turns | modes |
| a | d | ab,bc,cd | depart,right,left,arrive | cycling,pushing bike,cycling | | a | d | ab,bc,cd,cd | depart,right,left,arrive | cycling,pushing bike,cycling,cycling |
| d | a | cd,bc,ab | depart,right,left,arrive | cycling,pushing bike,cycling | | d | a | cd,bc,ab,ab | depart,right,left,arrive | cycling,pushing bike,cycling,cycling |
| c | a | bc,ab | depart,left,arrive | pushing bike,cycling | | c | a | bc,ab,ab | depart,left,arrive | pushing bike,cycling,cycling |
| d | b | cd,bc | depart,right,arrive | cycling,pushing bike | | d | b | cd,bc,bc | depart,right,arrive | cycling,pushing bike,pushing bike |
| a | c | ab,bc | depart,right,arrive | cycling,pushing bike | | a | c | ab,bc,bc | depart,right,arrive | cycling,pushing bike,pushing bike |
| b | d | bc,cd | depart,left,arrive | pushing bike,cycling | | b | d | bc,cd,cd | depart,left,arrive | pushing bike,cycling,cycling |
Scenario: Bike - Mode when bicycle=dismount Scenario: Bike - Mode when bicycle=dismount
Given the node map Given the node map
@ -137,13 +136,13 @@ Feature: Bike - Mode flag
| cd | primary | | | cd | primary | |
When I route I should get When I route I should get
| from | to | route | turns | modes | | from | to | route | turns | modes |
| a | d | ab,bc,cd | depart,right,left,arrive | cycling,pushing bike,cycling | | a | d | ab,bc,cd,cd | depart,right,left,arrive | cycling,pushing bike,cycling,cycling |
| d | a | cd,bc,ab | depart,right,left,arrive | cycling,pushing bike,cycling | | d | a | cd,bc,ab,ab | depart,right,left,arrive | cycling,pushing bike,cycling,cycling |
| c | a | bc,ab | depart,left,arrive | pushing bike,cycling | | c | a | bc,ab,ab | depart,left,arrive | pushing bike,cycling,cycling |
| d | b | cd,bc | depart,right,arrive | cycling,pushing bike | | d | b | cd,bc,bc | depart,right,arrive | cycling,pushing bike,pushing bike |
| a | c | ab,bc | depart,right,arrive | cycling,pushing bike | | a | c | ab,bc,bc | depart,right,arrive | cycling,pushing bike,pushing bike |
| b | d | bc,cd | depart,left,arrive | pushing bike,cycling | | b | d | bc,cd,cd | depart,left,arrive | pushing bike,cycling,cycling |
Scenario: Bicycle - Modes when starting on forward oneway Scenario: Bicycle - Modes when starting on forward oneway
Given the node map Given the node map
@ -154,9 +153,9 @@ Feature: Bike - Mode flag
| ab | yes | | ab | yes |
When I route I should get When I route I should get
| from | to | route | modes | | from | to | route | modes |
| a | b | ab | cycling | | a | b | ab,ab | cycling,cycling |
| b | a | ab | pushing bike | | b | a | ab,ab | pushing bike,pushing bike |
Scenario: Bicycle - Modes when starting on reverse oneway Scenario: Bicycle - Modes when starting on reverse oneway
Given the node map Given the node map
@ -167,6 +166,6 @@ Feature: Bike - Mode flag
| ab | -1 | | ab | -1 |
When I route I should get When I route I should get
| from | to | route | modes | | from | to | route | modes |
| a | b | ab | pushing bike | | a | b | ab,ab | pushing bike,pushing bike |
| b | a | ab | cycling | | b | a | ab,ab | cycling,cycling |

View File

@ -15,8 +15,8 @@ Feature: Bike - Street names in instructions
| bc | Your Way | | bc | Your Way |
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| a | c | My Way,Your Way | | a | c | My Way,Your Way,Your Way |
@unnamed @unnamed
Scenario: Bike - Use way type to describe unnamed ways Scenario: Bike - Use way type to describe unnamed ways
@ -29,5 +29,5 @@ Feature: Bike - Street names in instructions
| bcd | track | | | bcd | track | |
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| a | d | {highway:cycleway},{highway:track} | | a | d | {highway:cycleway},{highway:track},{highway:track} |

View File

@ -29,9 +29,9 @@ Feature: Bike - Oneway streets
| da | | no | | da | | no |
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| a | b | ab | | a | b | ab,ab |
| b | a | bc,cd,da | | b | a | bc,cd,da,da |
Scenario: Bike - Handle various oneway tag values Scenario: Bike - Handle various oneway tag values
Then routability should be Then routability should be
@ -124,5 +124,5 @@ Feature: Bike - Oneway streets
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| a | c | ab,bc | | a | c | ab,bc,bc |

View File

@ -46,14 +46,14 @@ Feature: Bike - Accessability of different way types
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| a | b | abcda | | a | b | abcda,abcda |
| a | d | abcda | | a | d | abcda,abcda |
| b | c | abcda | | b | c | abcda,abcda |
| c | b | abcda | | c | b | abcda,abcda |
| c | d | abcda | | c | d | abcda,abcda |
| d | c | abcda | | d | c | abcda,abcda |
| d | a | abcda | | d | a | abcda,abcda |
| a | d | abcda | | a | d | abcda,abcda |
Scenario: Bike - Pushing bikes on ways with foot=yes Scenario: Bike - Pushing bikes on ways with foot=yes
Then routability should be Then routability should be
@ -98,11 +98,11 @@ Feature: Bike - Accessability of different way types
| cd | primary | | | cd | primary | |
When I route I should get When I route I should get
| from | to | route | turns | | from | to | route | turns |
| a | d | ab,bc,cd | depart,right,left,arrive | | a | d | ab,bc,cd,cd | depart,right,left,arrive |
| d | a | cd,bc,ab | depart,right,left,arrive | | d | a | cd,bc,ab,ab | depart,right,left,arrive |
| c | a | bc,ab | depart,left,arrive | | c | a | bc,ab,ab | depart,left,arrive |
| d | b | cd,bc | depart,right,arrive | | d | b | cd,bc,bc | depart,right,arrive |
@todo @todo
Scenario: Bike - Instructions when pushing bike on footway/pedestrian, etc. Scenario: Bike - Instructions when pushing bike on footway/pedestrian, etc.
@ -117,8 +117,8 @@ Feature: Bike - Accessability of different way types
| cd | primary | | cd | primary |
When I route I should get When I route I should get
| from | to | route | turns | | from | to | route | turns |
| a | d | ab,bc,cd | depart,right,left,arrive | | a | d | ab,bc,cd,cd | depart,right,left,arrive |
| d | a | cd,bc,ab | depart,right,left,arrive | | d | a | cd,bc,ab,ab | depart,right,left,arrive |
| c | a | bc,ab | depart,left,arrive | | c | a | bc,ab,ab | depart,left,arrive |
| d | b | cd,bc | depart,right,arrive | | d | b | cd,bc,bc | depart,right,arrive |

View File

@ -13,8 +13,8 @@ Feature: Bike - Way ref
| ab | Utopia Drive | E7 | | ab | Utopia Drive | E7 |
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| a | b | Utopia Drive / E7 | | a | b | Utopia Drive / E7,Utopia Drive / E7 |
Scenario: Bike - Way with only ref Scenario: Bike - Way with only ref
Given the node map Given the node map
@ -26,7 +26,7 @@ Feature: Bike - Way ref
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| a | b | E7 | | a | b | E7,E7 |
Scenario: Bike - Way with only name Scenario: Bike - Way with only name
Given the node map Given the node map
@ -37,5 +37,5 @@ Feature: Bike - Way ref
| ab | Utopia Drive | | ab | Utopia Drive |
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| a | b | Utopia Drive | | a | b | Utopia Drive,Utopia Drive |

View File

@ -25,10 +25,10 @@ Feature: Bike - Turn restrictions
| restriction | sj | wj | j | no_left_turn | | restriction | sj | wj | j | no_left_turn |
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| s | w | sj,wj | | s | w | sj,wj,wj |
| s | n | sj,nj | | s | n | sj,nj,nj |
| s | e | sj,ej | | s | e | sj,ej,ej |
@no_turning @no_turning
Scenario: Bike - No right turn Scenario: Bike - No right turn
@ -49,10 +49,10 @@ Feature: Bike - Turn restrictions
| restriction | sj | ej | j | no_right_turn | | restriction | sj | ej | j | no_right_turn |
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| s | w | sj,wj | | s | w | sj,wj,wj |
| s | n | sj,nj | | s | n | sj,nj,nj |
| s | e | sj,ej | | s | e | sj,ej,ej |
@no_turning @no_turning
Scenario: Bike - No u-turn Scenario: Bike - No u-turn
@ -73,10 +73,10 @@ Feature: Bike - Turn restrictions
| restriction | sj | wj | j | no_u_turn | | restriction | sj | wj | j | no_u_turn |
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| s | w | sj,wj | | s | w | sj,wj,wj |
| s | n | sj,nj | | s | n | sj,nj,nj |
| s | e | sj,ej | | s | e | sj,ej,ej |
@no_turning @no_turning
Scenario: Bike - Handle any no_* relation Scenario: Bike - Handle any no_* relation
@ -97,10 +97,10 @@ Feature: Bike - Turn restrictions
| restriction | sj | wj | j | no_weird_zigzags | | restriction | sj | wj | j | no_weird_zigzags |
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| s | w | sj,wj | | s | w | sj,wj,wj |
| s | n | sj,nj | | s | n | sj,nj,nj |
| s | e | sj,ej | | s | e | sj,ej,ej |
@only_turning @only_turning
Scenario: Bike - Only left turn Scenario: Bike - Only left turn
@ -121,10 +121,10 @@ Feature: Bike - Turn restrictions
| restriction | sj | wj | j | only_left_turn | | restriction | sj | wj | j | only_left_turn |
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| s | w | sj,wj | | s | w | sj,wj,wj |
| s | n | sj,nj | | s | n | sj,nj,nj |
| s | e | sj,ej | | s | e | sj,ej,ej |
@only_turning @only_turning
Scenario: Bike - Only right turn Scenario: Bike - Only right turn
@ -145,10 +145,10 @@ Feature: Bike - Turn restrictions
| restriction | sj | ej | j | only_right_turn | | restriction | sj | ej | j | only_right_turn |
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| s | w | sj,wj | | s | w | sj,wj,wj |
| s | n | sj,nj | | s | n | sj,nj,nj |
| s | e | sj,ej | | s | e | sj,ej,ej |
@only_turning @only_turning
Scenario: Bike - Only straight on Scenario: Bike - Only straight on
@ -169,10 +169,10 @@ Feature: Bike - Turn restrictions
| restriction | sj | nj | j | only_straight_on | | restriction | sj | nj | j | only_straight_on |
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| s | w | sj,wj | | s | w | sj,wj,wj |
| s | n | sj,nj | | s | n | sj,nj,nj |
| s | e | sj,ej | | s | e | sj,ej,ej |
@no_turning @no_turning
Scenario: Bike - Handle any only_* restriction Scenario: Bike - Handle any only_* restriction
@ -193,10 +193,10 @@ Feature: Bike - Turn restrictions
| restriction | sj | nj | j | only_weird_zigzags | | restriction | sj | nj | j | only_weird_zigzags |
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| s | w | sj,wj | | s | w | sj,wj,wj |
| s | n | sj,nj | | s | n | sj,nj,nj |
| s | e | sj,ej | | s | e | sj,ej,ej |
@except @except
Scenario: Bike - Except tag and on no_ restrictions Scenario: Bike - Except tag and on no_ restrictions
@ -222,11 +222,11 @@ Feature: Bike - Turn restrictions
| restriction | sj | dj | j | no_right_turn | bicycle | | restriction | sj | dj | j | no_right_turn | bicycle |
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| s | a | sj,aj | | s | a | sj,aj,aj |
| s | b | sj,bj | | s | b | sj,bj,bj |
| s | c | sj,cj | | s | c | sj,cj,cj |
| s | d | sj,dj | | s | d | sj,dj,dj |
@except @except
Scenario: Bike - Except tag and on only_ restrictions Scenario: Bike - Except tag and on only_ restrictions
@ -246,9 +246,9 @@ Feature: Bike - Turn restrictions
| restriction | sj | aj | j | only_straight_on | bicycle | | restriction | sj | aj | j | only_straight_on | bicycle |
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| s | a | sj,aj | | s | a | sj,aj,aj |
| s | b | sj,bj | | s | b | sj,bj,bj |
@except @except
Scenario: Bike - Multiple except tag values Scenario: Bike - Multiple except tag values
@ -280,10 +280,10 @@ Feature: Bike - Turn restrictions
| restriction | sj | jf | j | no_straight_on | bicycle, bus | | restriction | sj | jf | j | no_straight_on | bicycle, bus |
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| s | a | sj,ja | | s | a | sj,ja,ja |
| s | b | sj,jb | | s | b | sj,jb,jb |
| s | c | sj,jc | | s | c | sj,jc,jc |
| s | d | sj,jd | | s | d | sj,jd,jd |
| s | e | sj,je | | s | e | sj,je,je |
| s | f | sj,jf | | s | f | sj,jf,jf |

View File

@ -21,10 +21,10 @@ Feature: Roundabout Instructions
| abcda | roundabout | | abcda | roundabout |
When I route I should get When I route I should get
| from | to | route | turns | | from | to | route | turns |
| s | t | sa,tb | depart,roundabout-exit-1,arrive | | s | t | sa,tb,tb | depart,roundabout-exit-1,arrive |
| s | u | sa,uc | depart,roundabout-exit-2,arrive | | s | u | sa,uc,uc | depart,roundabout-exit-2,arrive |
| s | v | sa,vd | depart,roundabout-exit-3,arrive | | s | v | sa,vd,vd | depart,roundabout-exit-3,arrive |
| u | v | uc,vd | depart,roundabout-exit-1,arrive | | u | v | uc,vd,vd | depart,roundabout-exit-1,arrive |
| u | s | uc,sa | depart,roundabout-exit-2,arrive | | u | s | uc,sa,sa | depart,roundabout-exit-2,arrive |
| u | t | uc,tb | depart,roundabout-exit-3,arrive | | u | t | uc,tb,tb | depart,roundabout-exit-3,arrive |

View File

@ -31,7 +31,7 @@ Feature: Bike - Stop areas for public transport
| public_transport | stop_area | c | st | | public_transport | stop_area | c | st |
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| a | d | abcd | | a | d | abcd,abcd |
| s | t | st | | s | t | st,st |
| s | d | /st,.+,abcd/ | | s | d | /st,.+,abcd/,abcd/ |

View File

@ -23,11 +23,11 @@ Feature: Turn Penalties
| jg | | jg |
When I route I should get When I route I should get
| from | to | route | time | distance | | from | to | route | time | distance |
| s | a | sj,ja | 39s +-1 | 242m +-1 | | s | a | sj,ja,ja | 39s +-1 | 242m +-1 |
| s | b | sj,jb | 30s +-1 | 200m +-1 | | s | b | sj,jb,jb | 30s +-1 | 200m +-1 |
| s | c | sj,jc | 29s +-1 | 242m +-1 | | s | c | sj,jc,jc | 29s +-1 | 242m +-1 |
| s | d | sj,jd | 20s +-1 | 200m +-1 | | s | d | sj,jd,jd | 20s +-1 | 200m +-1 |
| s | e | sj,je | 29s +-1 | 242m +-1 | | s | e | sj,je,je | 29s +-1 | 242m +-1 |
| s | f | sj,jf | 30s +-1 | 200m +-1 | | s | f | sj,jf,jf | 30s +-1 | 200m +-1 |
| s | g | sj,jg | 39s +-1 | 242m +-1 | | s | g | sj,jg,jg | 39s +-1 | 242m +-1 |