GetScreenToWorld2D and GetWorldToScreen2D are pure arithmetic over every field of a Camera2D, so they run with no window at all — the best headless material the package has had. Both directions are asserted as absolute answers rather than as a round trip, because an inverse cancels a permuted layout exactly the way store-and-return does. The rotated case earns its awkwardness: exchanging x and y in Vector2 mirrors every component-wise formula and the answer comes back mirrored too, so nothing until now could tell the two floats apart. A rotation mixes them. It reports ok/bad against a tolerance because 90 degrees goes through sinf and the answer is 27.9999981, and the table compares stdout byte for byte at -O0 and -O2.
Description
Languages
OCaml
67.2%
Emacs Lisp
15.2%
C
10.4%
HTML
2.9%
Standard ML
2.8%
Other
1.5%