test nearest/locate with high lat/lon, fix fuzzy match of negative numbers

This commit is contained in:
Emil Tin 2013-08-28 09:39:25 +02:00
parent 613e38d7f8
commit c4904cc365
2 changed files with 5 additions and 5 deletions

View File

@ -178,8 +178,8 @@ Feature: Locate - return nearest node
| x | x | | x | x |
| y | y | | y | y |
Scenario: Locate - High lat/lon Scenario: Locate - High lat/lon
Given the node locations Given the node locations
| node | lat | lon | | node | lat | lon |
| a | -85 | -180 | | a | -85 | -180 |
| b | 0 | 0 | | b | 0 | 0 |
@ -187,11 +187,11 @@ Feature: Locate - return nearest node
| x | -84 | -180 | | x | -84 | -180 |
| y | 84 | 180 | | y | 84 | 180 |
And the ways And the ways
| nodes | | nodes |
| abc | | abc |
When I request locate I should get When I request locate I should get
| in | out | | in | out |
| x | a | | x | a |
| y | c | | y | c |

View File

@ -75,4 +75,4 @@ Feature: Locating Nearest node on a Way - pick closest way
| x | a | | x | a |
| y | c | | y | c |
| v | b | | v | b |
| w | b | | w | b |