added pass and fail tests

This commit is contained in:
Joshua Burman
2022-04-17 23:33:22 -04:00
parent 41856322f8
commit e3f6c97503
2 changed files with 5 additions and 3 deletions

View File

@ -3,5 +3,9 @@ def func(x):
return x + 1
def test_answer():
def test_pass():
assert func(4) == 5
def test_failure():
assert func(3) == 5