From 6ba36a2bc783e55569055ff432cdcb37f7080135 Mon Sep 17 00:00:00 2001 From: karenzshea Date: Fri, 18 Nov 2016 10:13:38 -0500 Subject: [PATCH] test and control for pushing both ways --- .../bike-staggered-intersections.feature | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/features/guidance/bike-staggered-intersections.feature b/features/guidance/bike-staggered-intersections.feature index c42e7bcb7..c4953bb82 100644 --- a/features/guidance/bike-staggered-intersections.feature +++ b/features/guidance/bike-staggered-intersections.feature @@ -93,3 +93,47 @@ Feature: Staggered Intersections | waypoints | route | turns | modes | | a,g | Oak St,Cedar Dr,Oak St,Oak St | depart,turn right,turn left,arrive | pushing bike,cycling,pushing bike,pushing bike | | g,a | Oak St,Oak St | depart,arrive | cycling,cycling | + + Scenario: Staggered Intersection - pushing at start and end + Given the node map + """ + j + a b c + d + e f g + h + i + """ + + And the ways + | nodes | highway | name | + | cba | pedestrian | Oak St | + | gfe | pedestrian | Oak St | + | ihedcj | residential | Cedar Dr | + + When I route I should get + | waypoints | route | turns | modes | + | a,g | Oak St,Cedar Dr,Oak St,Oak St | depart,turn right,turn left,arrive | pushing bike,cycling,pushing bike,pushing bike | + | g,a | Oak St,Cedar Dr,Oak St,Oak St | depart,turn right,turn left,arrive | pushing bike,cycling,pushing bike,pushing bike | + + Scenario: Staggered Intersection - control, all cycling on staggered intersection + Given the node map + """ + j + a b c + d + e f g + h + i + """ + + And the ways + | nodes | highway | name | + | cba | residential | Oak St | + | gfe | residential | Oak St | + | ihedcj | residential | Cedar Dr | + + When I route I should get + | waypoints | route | turns | modes | + | a,g | Oak St,Oak St | depart,arrive | cycling,cycling | + | g,a | Oak St,Oak St | depart,arrive | cycling,cycling |