(t *testing.T)
| 43 | } |
| 44 | |
| 45 | func TestSequenceMatcherRatio(t *testing.T) { |
| 46 | s := NewMatcher(splitChars("abcd"), splitChars("bcde")) |
| 47 | assertEqual(t, s.Ratio(), 0.75) |
| 48 | assertEqual(t, s.QuickRatio(), 0.75) |
| 49 | assertEqual(t, s.RealQuickRatio(), 1.0) |
| 50 | } |
| 51 | |
| 52 | func TestGetOptCodes(t *testing.T) { |
| 53 | a := "qabxcd" |
nothing calls this directly
no test coverage detected