add turn restrictions to test-cases

This commit is contained in:
Moritz Kobitzsch 2016-05-26 15:21:09 +02:00 committed by Patrick Niklaus
parent 3d03797e53
commit 823ee54f22
No known key found for this signature in database
GPG Key ID: E426891B5F978B1B

View File

@ -23,6 +23,10 @@ Feature: Slipways and Dedicated Turn Lanes
| bhf | trunk_link | | | bhf | trunk_link | |
| ecfg | primary | second | | ecfg | primary | second |
And the relations
| type | way:from | way:to | node:via | restriction |
| restriction | abcd | ecfg | c | no_right_turn |
When I route I should get When I route I should get
| waypoints | route | turns | | waypoints | route | turns |
| a,g | first,second,second | depart,turn right,arrive | | a,g | first,second,second | depart,turn right,arrive |
@ -70,6 +74,10 @@ Feature: Slipways and Dedicated Turn Lanes
| bfd | trunk_link | | | bfd | trunk_link | |
| cde | trunk | trunk | | cde | trunk | trunk |
And the relations
| type | way:from | way:to | node:via | restriction |
| restriction | abc | cde | c | no_right_turn |
When I route I should get When I route I should get
| waypoints | route | turns | | waypoints | route | turns |
| a,e | road,trunk,trunk | depart,turn right,arrive | | a,e | road,trunk,trunk | depart,turn right,arrive |