MCPcopy Create free account
hub / github.com/ettle/strcase / TestToLower

Function TestToLower

unicode_test.go:112–128  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

110}
111
112func TestToLower(t *testing.T) {
113 tests := []struct {
114 r rune
115 want rune
116 }{
117 {'C', 'c'},
118 {'h', 'h'},
119 {'Ñ', 'ñ'},
120 {'9', '9'},
121 {'.', '.'},
122 }
123 for _, test := range tests {
124 t.Run(string(test.r), func(t *testing.T) {
125 assertTrue(t, test.want == toLower(test.r))
126 })
127 }
128}

Callers

nothing calls this directly

Calls 2

assertTrueFunction · 0.85
toLowerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…