MCPcopy Create free account
hub / github.com/gobeam/stringy / TestInput_Reverse

Function TestInput_Reverse

stringy_test.go:267–273  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

265}
266
267func TestInput_Reverse(t *testing.T) {
268 reverseString := New("roshan")
269 against := "nahsor"
270 if result := reverseString.Reverse(); result != against {
271 t.Errorf("Expected: %s but got: %s", against, result)
272 }
273}
274
275func TestInput_Shuffle(t *testing.T) {
276 check := "roshan"

Callers

nothing calls this directly

Calls 2

NewFunction · 0.85
ReverseMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…