gotools/gopls/internal/fuzzy/matcher_test.go

type comparator

var eq

var ge

var gt

func (c comparator) eval(val, ref float32) bool {}

func (c comparator) String() string {}

type scoreTest

var matcherTests

func TestScore(t *testing.T) {}

var compareCandidatesTestCases

func TestCompareCandidateScores(t *testing.T) {}

var fuzzyMatcherTestCases

func TestFuzzyMatcherRanges(t *testing.T) {}

var scoreTestCases

func TestScores(t *testing.T) {}

func highlightMatches(str string, matcher *fuzzy.Matcher) string {}

func BenchmarkMatcher(b *testing.B) {}