import os import sys PROJECT_ROOT = os.getcwd() if PROJECT_ROOT not in sys.path: sys.path.append(PROJECT_ROOT) from src.scripts.mat_operation import add, sub def test_add(): assert add(2, 3) == 5 assert add(-1, 1) == 0 def test_sub(): assert sub(5, 3) == 2 assert sub(4, 3) == 1