fox/xrand/rand_test.go

27 lines
312 B
Go
Raw Normal View History

2025-05-25 20:02:15 +08:00
package xrand
import "testing"
func TestShuffle(t *testing.T) {
a := []int{1, 2, 3}
Shuffle(a)
t.Log(a)
}
2025-06-07 12:13:12 +08:00
func TestClean(t *testing.T) {
_ = t
_ = Int
_ = Int31
_ = Int31n
_ = Int63
_ = Int63n
_ = Uint32
_ = Uint64
_ = Float32
_ = Float64
_ = Perm
_ = Read
_ = RandomInt64
_ = RandomString
}