(t *testing.T)
| 16 | } |
| 17 | |
| 18 | func TestIsBalancedFalty(t *testing.T) { |
| 19 | input := "{([()]}" |
| 20 | |
| 21 | got := IsBalanced(input) |
| 22 | want := false |
| 23 | |
| 24 | if got != want { |
| 25 | t.Errorf("\nInput: %s\nGot: %v\nWant: %v\n", input, got, want) |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | func TestIsBalancedHandlesEmpty(t *testing.T) { |
| 30 | input := "" |
nothing calls this directly
no test coverage detected