init commit
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,14 @@
|
||||
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)
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user