mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
...
This commit is contained in:
parent
fe64c2d5be
commit
bf7d5a912c
@ -311,7 +311,7 @@ assert result_mat == correct_result_mat
|
||||
# test matmul
|
||||
test_mat_copy = test_mat.copy()
|
||||
test_mat_copy_2 = test_mat.copy()
|
||||
result_mat = test_mat_copy.matmul(test_mat_copy_2)
|
||||
result_mat = test_mat_copy @ test_mat_copy_2
|
||||
correct_result_mat = mat3x3()
|
||||
for i in range(3):
|
||||
for j in range(3):
|
||||
@ -378,7 +378,6 @@ test_mat_copy = test_mat.copy()
|
||||
assert test_mat_copy.transpose() == test_mat_copy.transpose().transpose().transpose()
|
||||
|
||||
# test inverse
|
||||
assert static_test_mat_float.inverse() == static_test_mat_float_inv
|
||||
assert ~static_test_mat_float == static_test_mat_float_inv
|
||||
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user