Add snapping regression test for viaroute

This commit is contained in:
Patrick Niklaus 2015-12-16 22:21:48 +01:00
parent 0b1c9d33a5
commit 7eb2af6cd3

View File

@ -76,6 +76,26 @@ Feature: Snap start/end point to the nearest way
| a | k | jkla |
| a | l | jkla |
Scenario: Snapping in viaroute
Given the extract extra arguments "--small-component-size 4"
Given the node map
| a | | c | e |
| b | | d | f |
And the ways
| nodes |
| ab |
| cd |
| df |
| fe |
| ec |
When I route I should get
| from | to | route |
| a | b | ab |
| a | d | cd |
| c | d | cd |
Scenario: Snap to correct way at large scales
Given a grid size of 1000 meters
Given the node map