test list for wrapping around a sphere

main
Daniel Barlow 2023-01-22 19:05:35 +00:00
parent 7b68206577
commit 570fe8dadc
1 changed files with 6 additions and 0 deletions

View File

@ -118,4 +118,10 @@
{:x 2 :y 4 :direction :e}))
"if we travel west past x=-180, x becomes positive 180"
"if we travel east past x=180, x becomes -180"
"if we travel east/west at a non-zero latitude, we don't move a full unit"
"if we arrive at the north pole, we are {:y 90 :direction :s}"
"if we arrive at the north pole and turn 90 degrees left, x = x - 90"
(print "OK")