diff --git a/lib/modules/Geography.pmod/testsuite.in b/lib/modules/Geography.pmod/testsuite.in index e2dc53c59f9774589a3abdfc788c4cab415fbc48..4ca012efb1456c4434aebe5f13a8aaff1b2a46f1 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