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.
Fun kata. Short and to the point. Nothing too obscure or out there that leads you down a path of dealing weird language indisyncracies. Though i did learn about how javacript compares arrays to each other so that was helpful.
The condition of success : getting to the launderette at the exact end of the path is not stated in the description.
It's not clear whether the condition for success is reaching the destination after going through the whole list of directions or visiting the destination at least once.
Inconsistency between fixed tests and random tests as fixed tests use array of chars while random tests use strings as input
1K random test is too much, should be reduced to 100
Node 12. should be enabled
raised as issue
The instructions were a little unclear to me. "A perfect one km by one km grid" sounds like the total x & y lengths of the city perimeter are 1 km x 1 km. "A grid of one km by one km squares" would be clearer.
Fixed tests are arrays while random tests are strings.
Example and fixed tests use arrays, while random test use strings...
You should add to the description that path argument could be either array of char or string ^^
Fixed.
Don't use
Test.expect
. It'll happily accept all truthy/falsy values, instead of justtrue
/false
.Needs random tests
Very good use regular expression.
Nice idea. As said before: random tests needed.
And then: Create more nice katas like this. ;-)
Loading more items...