Add simple add function and test

This commit is contained in:
Codex
2025-08-06 15:05:53 +00:00
parent e45e85b474
commit 6051c9dc15
3 changed files with 8 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
__pycache__/
.pymon

2
main.py Normal file
View File

@ -0,0 +1,2 @@
def add(a, b):
return a + b

4
test_main.py Normal file
View File

@ -0,0 +1,4 @@
from main import add
def test_add():
assert add(1, 2) == 3