Movement tests weren't working because terrain was being positioned one square to the left of where it was expected, and the error message printed something other than the expected coordinates. I wasn't able to figure out why they were like this in the first place (referring to one spot to the left of the hero with <u.ux-2, u.uy>), so it's quite possible that I am missing some context here, but the test failed consistently for me before making these changes, and now works.
6.3 KiB
6.3 KiB