Skip to content

Commit 74caa60

Browse files
authored
Create test_sample.py
1 parent 4d27762 commit 74caa60

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test_sample.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import pytest
2+
3+
def func(x):
4+
return x + 2
5+
6+
def test_answer():
7+
assert func(3) == 5

0 commit comments

Comments
 (0)