11 lines
229 B
Python
11 lines
229 B
Python
from matrixmania import rot_2D
|
|
|
|
def test_rot_2D():
|
|
angle = 90
|
|
result = rot_2D(angle)
|
|
print(f"Angle:{angle} Rot-Matrix:{result}")
|
|
|
|
assert result == [[6.123233995736766e-17, -1.0], [1.0, 6.123233995736766e-17]]
|
|
|
|
|