MCPcopy Index your code
hub / github.com/expr-lang/expr / TestSFBugsRatioForNullSeqn

Function TestSFBugsRatioForNullSeqn

internal/difflib/difflib_test.go:258–263  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

256}
257
258func TestSFBugsRatioForNullSeqn(t *testing.T) {
259 sm := NewMatcher(nil, nil)
260 assertEqual(t, sm.Ratio(), 1.0)
261 assertEqual(t, sm.QuickRatio(), 1.0)
262 assertEqual(t, sm.RealQuickRatio(), 1.0)
263}
264
265func TestSFBugsComparingEmptyLists(t *testing.T) {
266 groups := NewMatcher(nil, nil).GetGroupedOpCodes(-1)

Callers

nothing calls this directly

Calls 5

NewMatcherFunction · 0.85
assertEqualFunction · 0.85
RatioMethod · 0.80
QuickRatioMethod · 0.80
RealQuickRatioMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…