Random tests are weak and few.
It's kind to include at least one test case.
Hi, thanks for pointing this out. I have fixed it now.
This comment is hidden because it contains spoiler information about the solution
I was a bit stumped by "out of range". Figured it out eventually though.