Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I believe the test you are talking about passes turns (
pass_turn
) instead of moving stones on the board. Both should count as a turn being taken.To clarify, the test against handicaps after moves isn't passing, and I'm not seeing any calls to move() before the error being thrown is expected.
The Python test against handicaps after moves seems to be expecting an error when handicaps are placed but without any moves having been made.
NVM. I just realized that I didn't notice this in the prompt:
"Note that the letter I is omitted from possible coordinates."
IIRC there are supposed to be erroneous moves in the random tests as the error conditions are also tested.
It appears that the random test cases for the Python translation are generating cases of board coordinates that are beyond the edges of the board space (e.g. 9T for a 19x19 board, 20 is the 20th letter).
Very glad I discovered that there's significant overhead when using eval() and/or exec() to execute code.
Why?