add a leg to roundabout to remove edge case

This commit is contained in:
Dennis Luxen 2014-05-21 10:47:34 +02:00
parent 9117b45899
commit 6a9541833a

View File

@ -6,10 +6,11 @@ Feature: Testbot - oneways
Scenario: Routing on a oneway roundabout
Given the node map
| | d | c | |
| e | | | b |
| f | | | a |
| | g | h | |
| x | | | v | | |
| | | d | c | | |
| | e | | | b | |
| | f | | | a | |
| | | g | h | | |
And the ways
| nodes | oneway |
@ -21,6 +22,7 @@ Feature: Testbot - oneways
| fg | yes |
| gh | yes |
| ha | yes |
| vx | yes |
When I route I should get
| from | to | route |
@ -39,4 +41,4 @@ Feature: Testbot - oneways
| f | e | fg,gh,ha,ab,bc,cd,de |
| g | f | gh,ha,ab,bc,cd,de,ef |
| h | g | ha,ab,bc,cd,de,ef,fg |
| a | h | ab,bc,cd,de,ef,fg,gh |
| a | h | ab,bc,cd,de,ef,fg,gh |