3 class CountryTest < ActiveSupport::TestCase
5 gb = Country.find("GB")
7 assert_equal "GB", gb.code
8 assert_equal -8.623555, gb.min_lon
9 assert_equal 59.360249, gb.max_lat
10 assert_equal 1.759, gb.max_lon
11 assert_equal 49.906193, gb.min_lat
15 au = Country.find("AU")
17 assert_equal "AU", au.code
18 assert_equal 112.911057, au.min_lon
19 assert_equal -10.062805, au.max_lat
20 assert_equal 153.639252, au.max_lon
21 assert_equal -43.64397, au.min_lat
25 xx = Country.find("XX")