Documentation ¶
Overview ¶
Package mock_entropy is a generated GoMock package.
Index ¶
- type MockFunction
- func (m *MockFunction) Alphabets(newAlphabets []string) error
- func (m *MockFunction) Bounds(veryWeak, weak, reasonable, strong float64) error
- func (m *MockFunction) Calculate(input string) (entropy.EntropyResult, error)
- func (m *MockFunction) Descriptions(tags entropy.DescriptionTags) error
- func (m *MockFunction) EXPECT() *MockFunctionMockRecorder
- func (m *MockFunction) EntropyBounds() []float64
- type MockFunctionMockRecorder
- func (mr *MockFunctionMockRecorder) Alphabets(newAlphabets interface{}) *gomock.Call
- func (mr *MockFunctionMockRecorder) Bounds(veryWeak, weak, reasonable, strong interface{}) *gomock.Call
- func (mr *MockFunctionMockRecorder) Calculate(input interface{}) *gomock.Call
- func (mr *MockFunctionMockRecorder) Descriptions(tags interface{}) *gomock.Call
- func (mr *MockFunctionMockRecorder) EntropyBounds() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFunction ¶ added in v1.0.1
type MockFunction struct {
// contains filtered or unexported fields
}
MockFunction is a mock of Function interface.
func NewMockFunction ¶ added in v1.0.1
func NewMockFunction(ctrl *gomock.Controller) *MockFunction
NewMockFunction creates a new mock instance.
func (*MockFunction) Alphabets ¶ added in v1.0.1
func (m *MockFunction) Alphabets(newAlphabets []string) error
Alphabets mocks base method.
func (*MockFunction) Bounds ¶ added in v1.0.1
func (m *MockFunction) Bounds(veryWeak, weak, reasonable, strong float64) error
Bounds mocks base method.
func (*MockFunction) Calculate ¶ added in v1.0.1
func (m *MockFunction) Calculate(input string) (entropy.EntropyResult, error)
Calculate mocks base method.
func (*MockFunction) Descriptions ¶ added in v1.0.1
func (m *MockFunction) Descriptions(tags entropy.DescriptionTags) error
Descriptions mocks base method.
func (*MockFunction) EXPECT ¶ added in v1.0.1
func (m *MockFunction) EXPECT() *MockFunctionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFunction) EntropyBounds ¶ added in v1.0.1
func (m *MockFunction) EntropyBounds() []float64
EntropyBounds mocks base method.
type MockFunctionMockRecorder ¶ added in v1.0.1
type MockFunctionMockRecorder struct {
// contains filtered or unexported fields
}
MockFunctionMockRecorder is the mock recorder for MockFunction.
func (*MockFunctionMockRecorder) Alphabets ¶ added in v1.0.1
func (mr *MockFunctionMockRecorder) Alphabets(newAlphabets interface{}) *gomock.Call
Alphabets indicates an expected call of Alphabets.
func (*MockFunctionMockRecorder) Bounds ¶ added in v1.0.1
func (mr *MockFunctionMockRecorder) Bounds(veryWeak, weak, reasonable, strong interface{}) *gomock.Call
Bounds indicates an expected call of Bounds.
func (*MockFunctionMockRecorder) Calculate ¶ added in v1.0.1
func (mr *MockFunctionMockRecorder) Calculate(input interface{}) *gomock.Call
Calculate indicates an expected call of Calculate.
func (*MockFunctionMockRecorder) Descriptions ¶ added in v1.0.1
func (mr *MockFunctionMockRecorder) Descriptions(tags interface{}) *gomock.Call
Descriptions indicates an expected call of Descriptions.
func (*MockFunctionMockRecorder) EntropyBounds ¶ added in v1.0.1
func (mr *MockFunctionMockRecorder) EntropyBounds() *gomock.Call
EntropyBounds indicates an expected call of EntropyBounds.