mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 16:00:24 +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)
 | 
						|
} |