MatrixMania/tests/test_rot2D.py
2025-11-06 16:32:30 +01:00

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]]