(t *testing.T)
| 7 | var sm StringManipulation = New("This is example.") |
| 8 | |
| 9 | func 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 | |
| 17 | func TestInput_Between(t *testing.T) { |
| 18 | val := sm.Between("This", "example").ToUpper() |