pytest 1.0 and makefile

This commit is contained in:
2025-10-03 14:47:12 +03:00
parent 1c7ebdcc2e
commit 46c6e1cd94
5 changed files with 36 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
# test_math.py
def add(a, b):
return a + b
def test_addition():
assert add(2, 2) == 4
assert add(-1, 1) == 0