Files
Python_CI/CalculatorLibrary/test_calculator.py
T
2026-06-02 14:41:58 -04:00

15 lines
236 B
Python

"""
Unit tests for the calculator library
"""
import calculator
class TestCalculator:
def test_addition(self):
assert 4 == calculator.add(2, 2)
def test_subtract(self):
assert 2 == calculator.subtract(4, 2)