mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-23 15:00:25 +08:00
阶段性提交
This commit is contained in:
@@ -2,9 +2,19 @@ package tests
|
||||
|
||||
import (
|
||||
"github.com/iwind/TeaGo/rands"
|
||||
"math"
|
||||
"net/url"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestRandString(t *testing.T) {
|
||||
t.Log(rands.HexString(32))
|
||||
}
|
||||
|
||||
func TestCharset(t *testing.T) {
|
||||
t.Log(url.QueryEscape("中文"))
|
||||
}
|
||||
|
||||
func TestInt(t *testing.T) {
|
||||
t.Log(math.MaxInt64)
|
||||
}
|
||||
Reference in New Issue
Block a user