rot_3d implementation, tests
This commit is contained in:
1 parent
252330ddc0
commit
ac31a7a432
4 files changed
+91
-10
No files matched your search
@@ -0,0 +1,13 @@
|
||||
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)
|
||||
Reference in new issue
Block a user