MCPcopy Create free account
hub / github.com/cogentcore/core / TestListifyString

Function TestListifyString

texteditor/difflib/difflib_test.go:36–41  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

34}
35
36func TestListifyString(t *testing.T) {
37 lst := listifyString("qwerty")
38 if reflect.DeepEqual(lst, []string{"q", "w", "e", "r", "t", "y"}) != true {
39 t.Fatal("listifyString failure:", lst)
40 }
41}
42
43func TestSequenceMatcherRatio(t *testing.T) {
44 s := NewMatcher(splitChars("abcd"), splitChars("bcde"))

Callers

nothing calls this directly

Calls 1

listifyStringFunction · 0.70

Tested by

no test coverage detected