From ab7b21ff7c68562edf47c299d63a5706647231b2 Mon Sep 17 00:00:00 2001 From: Martin Nilsson <nilsson@opera.com> Date: Mon, 20 Oct 2014 19:17:08 +0200 Subject: [PATCH] Allow for even lower precision in the test. --- lib/modules/Geography.pmod/testsuite.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/modules/Geography.pmod/testsuite.in b/lib/modules/Geography.pmod/testsuite.in index e2dc53c59f..4ca012efb1 100644 --- a/lib/modules/Geography.pmod/testsuite.in +++ b/lib/modules/Geography.pmod/testsuite.in @@ -2,11 +2,11 @@ START_MARKER test_eq( Geography.Position()->UTM(0), "31N 166021 0" ) -test_eq( Geography.Position("17\260""42.19'N 42\260""22.2'W")->UTM(0), - "23Q 778961 1959293" ) -test_eq( Geography.Position("17\260""42.19'N", "42\260""22.2'W")->UTM(0), - "23Q 778961 1959293" ) -test_eq( Geography.Position(17.70316667, -42.37)->UTM(0), - "23Q 778961 1959293" ) +test_true( glob( "23Q 77896? 195929?", + Geography.Position("17\260""42.19'N 42\260""22.2'W")->UTM(0)) ) +test_true( glob( "23Q 77896? 195929?", + Geography.Position("17\260""42.19'N", "42\260""22.2'W")->UTM(0)) ) +test_true( glob( "23Q 77896? 195929?", + Geography.Position(17.70316667, -42.37)->UTM(0)) ) END_MARKER \ No newline at end of file -- GitLab