algo

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimilarityManager

type SimilarityManager struct {
	mock.Mock
}

SimilarityManager is an autogenerated mock type for the SimilarityManager type

func NewSimilarityManager

func NewSimilarityManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *SimilarityManager

NewSimilarityManager creates a new instance of SimilarityManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SimilarityManager) EXPECT

func (*SimilarityManager) JaroWinkler

func (_m *SimilarityManager) JaroWinkler(value string, ref string) float64

JaroWinkler provides a mock function with given fields: value, ref

func (*SimilarityManager) Levenshtein

func (_m *SimilarityManager) Levenshtein(value string, ref string) float64

Levenshtein provides a mock function with given fields: value, ref

func (*SimilarityManager) SimpleDate

func (_m *SimilarityManager) SimpleDate(value string, ref string) float64

SimpleDate provides a mock function with given fields: value, ref

func (*SimilarityManager) Weight

func (_m *SimilarityManager) Weight(key string) float64

Weight provides a mock function with given fields: key

type SimilarityManager_Expecter

type SimilarityManager_Expecter struct {
	// contains filtered or unexported fields
}

func (*SimilarityManager_Expecter) JaroWinkler

func (_e *SimilarityManager_Expecter) JaroWinkler(value interface{}, ref interface{}) *SimilarityManager_JaroWinkler_Call

JaroWinkler is a helper method to define mock.On call

  • value string
  • ref string

func (*SimilarityManager_Expecter) Levenshtein

func (_e *SimilarityManager_Expecter) Levenshtein(value interface{}, ref interface{}) *SimilarityManager_Levenshtein_Call

Levenshtein is a helper method to define mock.On call

  • value string
  • ref string

func (*SimilarityManager_Expecter) SimpleDate

func (_e *SimilarityManager_Expecter) SimpleDate(value interface{}, ref interface{}) *SimilarityManager_SimpleDate_Call

SimpleDate is a helper method to define mock.On call

  • value string
  • ref string

func (*SimilarityManager_Expecter) Weight

func (_e *SimilarityManager_Expecter) Weight(key interface{}) *SimilarityManager_Weight_Call

Weight is a helper method to define mock.On call

  • key string

type SimilarityManager_JaroWinkler_Call

type SimilarityManager_JaroWinkler_Call struct {
	*mock.Call
}

SimilarityManager_JaroWinkler_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'JaroWinkler'

func (*SimilarityManager_JaroWinkler_Call) Return

func (*SimilarityManager_JaroWinkler_Call) Run

func (*SimilarityManager_JaroWinkler_Call) RunAndReturn

type SimilarityManager_Levenshtein_Call

type SimilarityManager_Levenshtein_Call struct {
	*mock.Call
}

SimilarityManager_Levenshtein_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Levenshtein'

func (*SimilarityManager_Levenshtein_Call) Return

func (*SimilarityManager_Levenshtein_Call) Run

func (*SimilarityManager_Levenshtein_Call) RunAndReturn

type SimilarityManager_SimpleDate_Call

type SimilarityManager_SimpleDate_Call struct {
	*mock.Call
}

SimilarityManager_SimpleDate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SimpleDate'

func (*SimilarityManager_SimpleDate_Call) Return

func (*SimilarityManager_SimpleDate_Call) Run

func (*SimilarityManager_SimpleDate_Call) RunAndReturn

type SimilarityManager_Weight_Call

type SimilarityManager_Weight_Call struct {
	*mock.Call
}

SimilarityManager_Weight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Weight'

func (*SimilarityManager_Weight_Call) Return

func (*SimilarityManager_Weight_Call) Run

func (*SimilarityManager_Weight_Call) RunAndReturn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL