mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +08:00
9 lines
191 B
XML
9 lines
191 B
XML
--- angle-to-unit ---
|
|
// Test angle methods.
|
|
#test(1rad.rad(), 1.0)
|
|
#test(1.23rad.rad(), 1.23)
|
|
#test(0deg.rad(), 0.0)
|
|
#test(2deg.deg(), 2.0)
|
|
#test(2.94deg.deg(), 2.94)
|
|
#test(0rad.deg(), 0.0)
|