Add test for matrix *=
operator
This commit is contained in:
parent
9456b0a6ad
commit
9112ae5b86
9
tests/test_matrix.py
Normal file
9
tests/test_matrix.py
Normal file
@ -0,0 +1,9 @@
|
||||
from gaphas.matrix import Matrix
|
||||
|
||||
|
||||
def test_multiply_equals_should_result_in_same_matrix():
|
||||
m1 = Matrix()
|
||||
m2 = m1
|
||||
m2 *= Matrix(20, 20)
|
||||
|
||||
assert m1 is m2
|
Loading…
x
Reference in New Issue
Block a user