mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-03 15:00:27 +08:00
20 lines
278 B
Go
20 lines
278 B
Go
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)
|
|
} |