Spaces:
Sleeping
Sleeping
File size: 305 Bytes
63de3ab | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 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 |