Add uturn test case in cucumber for sides param.

Signed-off-by: FILLAU Jean-Maxime <jean-maxime.fillau@mapotempo.com>
This commit is contained in:
FILLAU Jean-Maxime
2017-05-22 11:20:36 +02:00
committed by Patrick Niklaus
parent ec7934ea33
commit f782dfbfd9
+39 -1
View File
@@ -204,4 +204,42 @@ Feature: Side parameter
When I route I should get
| from | to | sides | route |
| s | e | b o | ab,bc |
| s | e | b o | ab,bc |
Scenario: Testbot - UTurn test, router can't found a route because uturn unauthorized on the segment selected
Given the node map
"""
s e
a------b------c
"""
And the ways
| nodes |
| ab |
| bc |
And the relations
| type | way:from | way:to | node:via | restriction |
| restriction | bc | bc | c | no_u_turn |
When I route I should get
| from | to | sides | route |
| s | e | b d | |