Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResetConfigToDefaultValues ¶
func ResetConfigToDefaultValues()
resetconfigtodefaultValues将配置选项重置回默认值
Types ¶
type TestRandomNumberGenerator ¶
type TestRandomNumberGenerator struct {
// contains filtered or unexported fields
}
测试随机数生成器用于测试的随机数生成器
func NewTestRandomNumberGenerator ¶
func NewTestRandomNumberGenerator(maxNumber int) *TestRandomNumberGenerator
newTestRandomNumberGenerator构造新的“TestRandomNumberGenerator”
func (*TestRandomNumberGenerator) Next ¶
func (randNumGenerator *TestRandomNumberGenerator) Next() int
下一个生成下一个随机数
Click to show internal directories.
Click to hide internal directories.