IliaLarchenko
commited on
Commit
•
0821ef0
1
Parent(s):
eaf052c
added pytest
Browse files- tests/test_app.py +9 -0
tests/test_app.py
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# test
|
2 |
+
|
3 |
+
|
4 |
+
def func(x):
|
5 |
+
return x + 1
|
6 |
+
|
7 |
+
|
8 |
+
def test_answer():
|
9 |
+
assert func(3) == 4
|