From 40bfe89d97680635f1ea33fe9d80069aa32d75e6 Mon Sep 17 00:00:00 2001 From: Moritz Kobitzsch Date: Wed, 19 Oct 2016 12:20:03 +0200 Subject: [PATCH] add test --- features/guidance/roundabout.feature | 53 +++++++++++++++++++++------- 1 file changed, 40 insertions(+), 13 deletions(-) diff --git a/features/guidance/roundabout.feature b/features/guidance/roundabout.feature index 11594417f..8ba8e1b32 100644 --- a/features/guidance/roundabout.feature +++ b/features/guidance/roundabout.feature @@ -327,23 +327,23 @@ Feature: Basic Roundabout Given the node map """ x - u r + u r - t - s - v i h g - q + t + s + v i h g + q - j f + j f - a e - + a e - b c d p - m n - l + b c d p + + m n + l @@ -351,11 +351,11 @@ Feature: Basic Roundabout - k + k - w o + w o """ And the ways @@ -382,3 +382,30 @@ Feature: Basic Roundabout #| w,x | ll,egg,egg,tr,tr | depart,roundabout-exit-1,roundabout-exit-2,arrive | | w,x | ll,egg,egg,tr,tr | depart,turn right,continue left,turn straight,arrive | + Scenario: Use Lane in Roundabout + Given the node map + """ + . i . . . .. . + .' '. + a - b. f - g + . | + '. 1 / + '. / + j - - - c . . e + ' d ' + ' h + """ + + #using roundabout as name, we can ignore whether we see a roundabout or a rotary here. Cucumber output will be the same + And the ways + | nodes | junction | name | oneway | turn:lanes:forward | + | ba | | left-out | yes | | + | jc | | left-in | yes | | + | dh | | right-bot-out | yes | | + | fg | | right-top-out | yes | | + | bc | roundabout | roundabout | yes | left;through\|through | + | cdefib | roundabout | roundabout | yes | | + + When I route I should get + | waypoints | route | turns | + | 1,h | roundabout,right-bot-out,right-bot-out | depart,roundabout-exit-1,arrive |