Add simple add function and test
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
__pycache__/
|
||||||
|
.pymon
|
||||||
4
test_main.py
Normal file
4
test_main.py
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
from main import add
|
||||||
|
|
||||||
|
def test_add():
|
||||||
|
assert add(1, 2) == 3
|
||||||
Reference in New Issue
Block a user