Python, Automation, Data Science, Artificial Intelligence, Llm.
subtract(a, b): return a - b # test_calculator.py import pytest from calculator import add, subtract def test_add(): assert add(2, 3) == 5 assert add(-1, 1) == 0 assert add(0, 0) == 0 def test_subtract(): assert subtract(5, 3) == 2 assert subtract(-1, 1) == -2 assert subtract(0, 0) == 0 def