MatrixMania/tests/test_rot2D.py
2025-11-20 14:39:41 +01:00

11 lines
237 B
Python

from matrixmania.compute 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]]