13 lines
285 B
Python
13 lines
285 B
Python
from src.matrixmania.compute import *
|
|
|
|
def test_matmul():
|
|
a = [[1, 2, 3], [4, 5, 6]]
|
|
b = [[7, 8], [10, 11], [12, 13]]
|
|
|
|
expected_value = []
|
|
expected_type = Matrix
|
|
|
|
result = matmul(a,b)
|
|
|
|
assert result == expected_value
|
|
assert isinstance(result, expected_type) |