diff options
author | Matthew Somerville <matthew@balti.ukcod.org.uk> | 2010-08-02 14:57:23 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@balti.ukcod.org.uk> | 2010-08-02 14:57:23 +0100 |
commit | da350a4100bf6d2d73de6c7685451fada94e401e (patch) | |
tree | 48a1f3e1b6df53e06f9d12f7d52e333c0be912bc /t | |
parent | 9764bbba1309bdff4e0e6927b3f03863682fcc0f (diff) |
Returns centre now.
Diffstat (limited to 't')
-rwxr-xr-x | t/Page.t | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -41,8 +41,8 @@ sub test_geocode_string() { # geocode a straightforward string, expect success my ($x, $y, $easting, $northing, $error) = Page::geocode_string('Buckingham Palace', $q); - ok($x == 3279, 'example x coordinate generated') or diag("Got $x"); - ok($y == 1113, 'example y coordinate generated') or diag("Got $y");; + ok($x == 3280, 'example x coordinate generated') or diag("Got $x"); + ok($y == 1114, 'example y coordinate generated') or diag("Got $y");; ok($easting == 529044, 'example easting generated') or diag("Got $easting"); ok($northing == 179619, 'example northing generated') or diag("Got $northing"); ok(! defined($error), 'should not generate error for simple example') or diag("Got $error"); |