drone-tutorial-python/test_good.py
2019-02-03 00:34:34 +01:00

8 lines
144 B
Python

# Adapted from the test_sample.py example in the pytest documentation
def inc(x):
return x + 1
def test_answer():
assert inc(3) == 4