Skip to content

Commit

Permalink
day 247: more testcases to trigger all shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
vaskoz committed Apr 26, 2019
1 parent a6f7a83 commit a527f60
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions day247/problem_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,19 @@ var testcases = []struct {
},
false,
},
{
&BinaryTree{
&BinaryTree{
nil,
&BinaryTree{
&BinaryTree{nil, nil},
nil,
},
},
nil,
},
false,
},
}

func TestIsHeightBalanced(t *testing.T) {
Expand Down

0 comments on commit a527f60

Please sign in to comment.