11 lines
142 B
Python
11 lines
142 B
Python
# content of example.py
|
|
def func(x):
|
|
return x + 1
|
|
|
|
|
|
def test_pass():
|
|
assert func(4) == 5
|
|
|
|
|
|
def test_failure():
|
|
assert func(3) == 5 |