Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperationProcessor ¶
OperationProcessor is an autogenerated mock type for the OperationProcessor type
func NewOperationProcessor ¶
func NewOperationProcessor(t mockConstructorTestingTNewOperationProcessor) *OperationProcessor
NewOperationProcessor creates a new instance of OperationProcessor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*OperationProcessor) ProcessOperation ¶
func (_m *OperationProcessor) ProcessOperation(operation calculator.Operation) (*string, error)
ProcessOperation provides a mock function with given fields: operation
type ValidationHelper ¶
ValidationHelper is an autogenerated mock type for the ValidationHelper type
func NewValidationHelper ¶
func NewValidationHelper(t mockConstructorTestingTNewValidationHelper) *ValidationHelper
NewValidationHelper creates a new instance of ValidationHelper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ValidationHelper) CheckInput ¶
func (_m *ValidationHelper) CheckInput(operator string, operands []float64) error
CheckInput provides a mock function with given fields: operator, operands