added tests for distance calculations (some are failing)

This commit is contained in:
Emil Tin
2012-02-18 17:50:04 +01:00
parent b897b5d0e2
commit ef9c3c8431
3 changed files with 307 additions and 3 deletions
+22
View File
@@ -84,3 +84,25 @@ Feature: Snap start/end point to the nearest way
| b | j | jkla |
| b | k | jkla |
| b | l | jkla |
Scenario: Snap to correct way at large scales
Given a grid size of 1000 meters
Given the nodes
| | | | a |
| x | | | b |
| | | | c |
And the ways
| nodes |
| xa |
| xb |
| xc |
When I route I should get
| from | to | route |
| x | a | xa |
| x | b | xb |
| x | c | xc |
| a | x | xa |
| b | x | xb |
| c | x | xc |