github.com/angenalZZZ/gofunc@v0.0.0-20210507121333-48ff1be3917b/data/random/int_test.go (about) 1 package random 2 3 import "testing" 4 5 func TestInt(t *testing.T) { 6 t.Log(Int()) 7 t.Log(Int8()) 8 t.Log(Int16()) 9 t.Log(Int64()) 10 t.Log(Max(1000, 10000)) 11 t.Log(Max(100, 1000)) 12 t.Log(Max(10, 100)) 13 t.Log(Max(0, 10)) 14 }