27 lines
312 B
Go
27 lines
312 B
Go
package xrand
|
|
|
|
import "testing"
|
|
|
|
func TestShuffle(t *testing.T) {
|
|
a := []int{1, 2, 3}
|
|
Shuffle(a)
|
|
t.Log(a)
|
|
}
|
|
|
|
func TestClean(t *testing.T) {
|
|
_ = t
|
|
_ = Int
|
|
_ = Int31
|
|
_ = Int31n
|
|
_ = Int63
|
|
_ = Int63n
|
|
_ = Uint32
|
|
_ = Uint64
|
|
_ = Float32
|
|
_ = Float64
|
|
_ = Perm
|
|
_ = Read
|
|
_ = RandomInt64
|
|
_ = RandomString
|
|
}
|