Documentation ¶
Index ¶
- type Comparable
- type Comparable_Compare
- type WeightedRandomList
- func (_m *WeightedRandomList) Get() random.Comparable
- func (_m *WeightedRandomList) GetWithSeed(seed rand.Source) (random.Comparable, error)
- func (_m *WeightedRandomList) Len() int
- func (_m *WeightedRandomList) List() []random.Comparable
- func (_m *WeightedRandomList) OnGet() *WeightedRandomList_Get
- func (_m *WeightedRandomList) OnGetMatch(matchers ...interface{}) *WeightedRandomList_Get
- func (_m *WeightedRandomList) OnGetWithSeed(seed rand.Source) *WeightedRandomList_GetWithSeed
- func (_m *WeightedRandomList) OnGetWithSeedMatch(matchers ...interface{}) *WeightedRandomList_GetWithSeed
- func (_m *WeightedRandomList) OnLen() *WeightedRandomList_Len
- func (_m *WeightedRandomList) OnLenMatch(matchers ...interface{}) *WeightedRandomList_Len
- func (_m *WeightedRandomList) OnList() *WeightedRandomList_List
- func (_m *WeightedRandomList) OnListMatch(matchers ...interface{}) *WeightedRandomList_List
- type WeightedRandomList_Get
- type WeightedRandomList_GetWithSeed
- type WeightedRandomList_Len
- type WeightedRandomList_List
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comparable ¶
Comparable is an autogenerated mock type for the Comparable type
func (*Comparable) Compare ¶
func (_m *Comparable) Compare(to random.Comparable) bool
Compare provides a mock function with given fields: to
func (*Comparable) OnCompare ¶
func (_m *Comparable) OnCompare(to random.Comparable) *Comparable_Compare
func (*Comparable) OnCompareMatch ¶
func (_m *Comparable) OnCompareMatch(matchers ...interface{}) *Comparable_Compare
type Comparable_Compare ¶
func (Comparable_Compare) Return ¶
func (_m Comparable_Compare) Return(_a0 bool) *Comparable_Compare
type WeightedRandomList ¶
WeightedRandomList is an autogenerated mock type for the WeightedRandomList type
func (*WeightedRandomList) Get ¶
func (_m *WeightedRandomList) Get() random.Comparable
Get provides a mock function with given fields:
func (*WeightedRandomList) GetWithSeed ¶
func (_m *WeightedRandomList) GetWithSeed(seed rand.Source) (random.Comparable, error)
GetWithSeed provides a mock function with given fields: seed
func (*WeightedRandomList) Len ¶
func (_m *WeightedRandomList) Len() int
Len provides a mock function with given fields:
func (*WeightedRandomList) List ¶
func (_m *WeightedRandomList) List() []random.Comparable
List provides a mock function with given fields:
func (*WeightedRandomList) OnGet ¶
func (_m *WeightedRandomList) OnGet() *WeightedRandomList_Get
func (*WeightedRandomList) OnGetMatch ¶
func (_m *WeightedRandomList) OnGetMatch(matchers ...interface{}) *WeightedRandomList_Get
func (*WeightedRandomList) OnGetWithSeed ¶
func (_m *WeightedRandomList) OnGetWithSeed(seed rand.Source) *WeightedRandomList_GetWithSeed
func (*WeightedRandomList) OnGetWithSeedMatch ¶
func (_m *WeightedRandomList) OnGetWithSeedMatch(matchers ...interface{}) *WeightedRandomList_GetWithSeed
func (*WeightedRandomList) OnLen ¶
func (_m *WeightedRandomList) OnLen() *WeightedRandomList_Len
func (*WeightedRandomList) OnLenMatch ¶
func (_m *WeightedRandomList) OnLenMatch(matchers ...interface{}) *WeightedRandomList_Len
func (*WeightedRandomList) OnList ¶
func (_m *WeightedRandomList) OnList() *WeightedRandomList_List
func (*WeightedRandomList) OnListMatch ¶
func (_m *WeightedRandomList) OnListMatch(matchers ...interface{}) *WeightedRandomList_List
type WeightedRandomList_Get ¶
func (WeightedRandomList_Get) Return ¶
func (_m WeightedRandomList_Get) Return(_a0 random.Comparable) *WeightedRandomList_Get
type WeightedRandomList_GetWithSeed ¶
func (WeightedRandomList_GetWithSeed) Return ¶
func (_m WeightedRandomList_GetWithSeed) Return(_a0 random.Comparable, _a1 error) *WeightedRandomList_GetWithSeed
type WeightedRandomList_Len ¶
func (WeightedRandomList_Len) Return ¶
func (_m WeightedRandomList_Len) Return(_a0 int) *WeightedRandomList_Len
type WeightedRandomList_List ¶
func (WeightedRandomList_List) Return ¶
func (_m WeightedRandomList_List) Return(_a0 []random.Comparable) *WeightedRandomList_List
Click to show internal directories.
Click to hide internal directories.