cube dir and project layout

This commit is contained in:
hoffmeisterda104361 committed 2026-11-02 16:01:17 +01:00
1 parent ac31a7a432
commit baac41f088
8 files changed
+121 -4

No files matched your search

+4 -3
View File
@@ -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)