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