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

Function TestInput_Acronym

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

Source from the content-addressed store, hash-verified

7var sm StringManipulation = New("This is example.")
8
9func TestInput_Acronym(t *testing.T) {
10 acronym := New("Laugh Out Loud")
11 val := acronym.Acronym().Get()
12 if val != "LOL" {
13 t.Errorf("Expected: %s but got: %s", "IS", val)
14 }
15}
16
17func TestInput_Between(t *testing.T) {
18 val := sm.Between("This", "example").ToUpper()

Callers

nothing calls this directly

Calls 3

NewFunction · 0.85
GetMethod · 0.65
AcronymMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…