package countryCenter import ( "testing" ) func TestGetCountryCenter(t *testing.T) { lat, lon, found := GetCountryCenterByCountryOrCity("SG", "Singapore") if !found { t.Error("GetCountryCenter('HK') should return found = true") } t.Logf("lat = %v, lon = %v", lat, lon) }