(t *testing.T)
| 265 | } |
| 266 | |
| 267 | func 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 | |
| 275 | func TestInput_Shuffle(t *testing.T) { |
| 276 | check := "roshan" |