pr3-python-sose2026/tooling/tests/test_calculator.py

10 lines
140 B
Python

from src.calculator import add, subtract
def test_add():
assert add(2, 3) == 5
def test_substract():
assert subtract(5, 2) == 3