cube dir and project layout
This commit is contained in:
1 parent
ac31a7a432
commit
baac41f088
8 files changed
+121
-4
No files matched your search
@@ -1,13 +1,14 @@
|
||||
from src.matrixmania.compute import *
|
||||
from cube.game.compute import *
|
||||
|
||||
def test_matmul():
|
||||
a = [[1, 2, 3], [4, 5, 6]]
|
||||
b = [[7, 8], [10, 11], [12, 13]]
|
||||
|
||||
expected_value = []
|
||||
expected_value = [[63.0, 69.0], [150.0, 165.0]]
|
||||
expected_type = Matrix
|
||||
|
||||
result = matmul(a,b)
|
||||
|
||||
assert result == expected_value
|
||||
assert isinstance(result, expected_type)
|
||||
assert isinstance(result, expected_type)
|
||||
|
||||
Reference in new issue
Block a user