1
This commit is contained in:
17
platformapi/autonavi/gaode_test.go
Normal file
17
platformapi/autonavi/gaode_test.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package autonavi
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestGetCyclingPlan(t *testing.T) {
|
||||
key := "e44ae2850c0ac930b65c9652d2db0321"
|
||||
a := New(key)
|
||||
a.GetCyclingPlan("113.854912,22.601450", "113.846355,22.625570")
|
||||
}
|
||||
|
||||
func TestLng(t *testing.T) {
|
||||
origin := fmt.Sprintf("%f,%f", 113.854912, 22.601450)
|
||||
fmt.Println(origin)
|
||||
}
|
||||
Reference in New Issue
Block a user