aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@balti.ukcod.org.uk>2010-08-02 14:57:23 +0100
committerMatthew Somerville <matthew@balti.ukcod.org.uk>2010-08-02 14:57:23 +0100
commitda350a4100bf6d2d73de6c7685451fada94e401e (patch)
tree48a1f3e1b6df53e06f9d12f7d52e333c0be912bc /t
parent9764bbba1309bdff4e0e6927b3f03863682fcc0f (diff)
Returns centre now.
Diffstat (limited to 't')
-rwxr-xr-xt/Page.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/Page.t b/t/Page.t
index bc0fe238e..26962c743 100755
--- a/t/Page.t
+++ b/t/Page.t
@@ -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");