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.
.
thank you guys for your coments, i just aded random tests.
You could generate a random board and then either generate random (non-matching) directions or pick one of the directions from the board.
issue with random test is that if i generate random boards and random directions, most likely what happenes is that they will never match.
Needs random tests.
It should be fine now, thanks a lot.
The initial solution name is
doneOrNot()
instead offindSafeRoute()