Branch: Tag:

2014-10-20

2014-10-20 17:17:08 by Martin Nilsson <nilsson@opera.com>

Allow for even lower precision in the test.

2:   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