- delivery fee added.
- fixed scheduler bug
This commit is contained in:
13
business/jxutils/jxutils_test.go
Normal file
13
business/jxutils/jxutils_test.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package jxutils
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestEarthDistance(t *testing.T) {
|
||||
lat1, lng1 := 32.060255, 118.796877
|
||||
lat2, lng2 := 39.904211, 116.407395
|
||||
distance := EarthDistance(lat1, lng1, lat2, lng2)
|
||||
fmt.Print(distance)
|
||||
}
|
||||
Reference in New Issue
Block a user