This commit is contained in:
richboo111
2024-01-17 10:25:00 +08:00
parent c332939555
commit 922aec1533
2 changed files with 29 additions and 14 deletions

View File

@@ -1,8 +1,10 @@
package sfps2
import (
"crypto/rand"
"fmt"
"git.rosy.net.cn/baseapi/utils"
"math/big"
"strings"
"testing"
)
@@ -135,3 +137,8 @@ func TestNew(t *testing.T) {
fmt.Println(lng, lat)
}
}
func Test2(t *testing.T) {
n, _ := rand.Int(rand.Reader, big.NewInt(10000000000))
println(n.Int64())
}