6b54b22014-08-16Martin Nilsson  START_MARKER
13c4b82014-10-20Martin Nilsson test_eq( Geography.Position()->UTM(0), "31N 166021 0" )
fceeaf2014-10-20Martin Nilsson 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)) )
6b54b22014-08-16Martin Nilsson 
03b7482015-11-12Martin Nilsson test_any([[ Geography.Countries.continents(); foreach (Geography.Countries.countries, object co) if (!co->_continent) return sprintf("No continent: %O %O\n",co->iso2,co); return 1; ]], 1)
3524712015-05-26Martin Nilsson END_MARKER