(t *testing.T)
| 58 | } |
| 59 | |
| 60 | func TestSequenceMatcherRatio(t *testing.T) { |
| 61 | s := NewMatcher(splitChars("abcd"), splitChars("bcde")) |
| 62 | assertEqual(t, s.Ratio(), 0.75) |
| 63 | assertEqual(t, s.QuickRatio(), 0.75) |
| 64 | assertEqual(t, s.RealQuickRatio(), 1.0) |
| 65 | } |
| 66 | |
| 67 | func TestGetOptCodes(t *testing.T) { |
| 68 | a := "qabxcd" |
nothing calls this directly
no test coverage detected