Skip to content

Commit

Permalink
fix test_max_sub_array_with_50_3_neg_50_3 test
Browse files Browse the repository at this point in the history
  • Loading branch information
CheezItMan committed Oct 31, 2021
1 parent 646fd5d commit 6ce9d14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_max_sub_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ def test_max_sub_array_with_50_neg_50_50():

def test_max_sub_array_with_50_3_neg_50_3():
# Arrange
input = [50, -50, 50]
input = [50, 3, -50, 50, 3]

# Act
answer = max_sub_array(input)

# Assert
assert answer == 50
assert answer == 56

def test_max_sub_array_with_50_3_neg_50_10_65_neg_3():
# Arrange
Expand Down

0 comments on commit 6ce9d14

Please sign in to comment.