Add regression test for uturn before barrier
This commit is contained in:
parent
490e838c60
commit
cc4713d878
@ -136,3 +136,29 @@ Feature: Via points
|
|||||||
| waypoints | route |
|
| waypoints | route |
|
||||||
| a,d,c | abc,bd,bd,bd,abc |
|
| a,d,c | abc,bd,bd,bd,abc |
|
||||||
| c,d,a | abc,bd,bd,bd,abc |
|
| c,d,a | abc,bd,bd,bd,abc |
|
||||||
|
|
||||||
|
# See issue #1896
|
||||||
|
Scenario: Via point at a dead end with barrier
|
||||||
|
Given the profile "car"
|
||||||
|
Given the node map
|
||||||
|
| a | b | c |
|
||||||
|
| | 1 | |
|
||||||
|
| | d | |
|
||||||
|
| | | |
|
||||||
|
| | | |
|
||||||
|
| f | e | |
|
||||||
|
|
||||||
|
And the nodes
|
||||||
|
| node | barrier |
|
||||||
|
| d | bollard |
|
||||||
|
|
||||||
|
And the ways
|
||||||
|
| nodes |
|
||||||
|
| abc |
|
||||||
|
| bd |
|
||||||
|
| afed |
|
||||||
|
|
||||||
|
When I route I should get
|
||||||
|
| waypoints | route |
|
||||||
|
| a,1,c | abc,bd,bd,bd,abc |
|
||||||
|
| c,1,a | abc,bd,bd,bd,abc |
|
||||||
|
Loading…
Reference in New Issue
Block a user