(t *testing.T)
| 313 | } |
| 314 | |
| 315 | func TestInput_Title(t *testing.T) { |
| 316 | str := New("this is just AN eXample") |
| 317 | against := "This Is Just An Example" |
| 318 | if val := str.Title(); val != against { |
| 319 | t.Errorf("Expected: to be %s but got: %s", against, val) |
| 320 | } |
| 321 | } |
| 322 | |
| 323 | func TestInput_UcFirst(t *testing.T) { |
| 324 | tests := []struct { |