Skip to content

Commit

Permalink
Add uturn test case in cucumberi for sides param.
Browse files Browse the repository at this point in the history
Signed-off-by: FILLAU Jean-Maxime <[email protected]>
  • Loading branch information
FILLAU Jean-Maxime committed May 19, 2017
1 parent 93de1f1 commit 1f83b36
Showing 1 changed file with 39 additions and 1 deletion.
40 changes: 39 additions & 1 deletion features/testbot/side_param.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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 | |














0 comments on commit 1f83b36

Please sign in to comment.