Documentation
¶
Overview ¶
Package testrand provides random generation and flags for testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rand ¶
type Rand interface {
ExpFloat64() float64
Float32() float32
Float64() float64
Int() int
Int32() int32
Int32N(n int32) int32
Int64() int64
Int64N(n int64) int64
IntN(n int) int
NormFloat64() float64
Perm(n int) []int
Shuffle(n int, swap func(i, j int))
Uint32() uint32
Uint64() uint64
Uint64N(n uint64) uint64
}
Rand corresponds to math/rand/v2.Rand.
Click to show internal directories.
Click to hide internal directories.