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

12 lines
256 B
Python

from matrixmania.compute import project_ortho
def test_projection():
point = (1.0, 2.0, 3.0)
scale = 100
result1 = project_ortho(point, scale)
result2 = project_ortho(point)
assert result1 == (100, 200)
assert result2 == (1, 2)