Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
Matthias Neeracher | 44a0c2788d |
|
@ -0,0 +1,7 @@
|
||||||
|
# Adapted from the test_sample.py example in the pytest documentation
|
||||||
|
|
||||||
|
def inc(x):
|
||||||
|
return x - 1
|
||||||
|
|
||||||
|
def test_answer():
|
||||||
|
assert inc(3) == 4
|
Loading…
Reference in New Issue