Skip to content

Commit

Permalink
day 130: add another testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
vaskoz committed Dec 30, 2018
1 parent 16b95d3 commit c1b054b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions day130/problem_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ var testcases = []struct {
maxProfit int
}{
{[]int{5, 2, 4, 0, 1}, 2, 3},
{[]int{12, 14, 17, 10, 14, 13, 12, 15}, 3, 12},
}

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

0 comments on commit c1b054b

Please sign in to comment.