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 finally did it. I've been working on this for like 2 weeks. Great kata; I learned a lot.
Resolved
This is fixed.
This comment is hidden because it contains spoiler information about the solution
Fixed.
Fixed.
Only the examlpe test cases expect ['Monokini','Kimono'].
The random tests use randomly generated arrays.
I think I fixed it. Thanks for the assertDeepeEuals suggestion. I'm new to test driven development, so I appreciate suggestions that can actually help me to improve.
Edit: I didn't fix it. assertDeepEquals is still not catching that the second item in the resulting array is not a string. Any idea on how to fix this?
Okay. I took all of your advice and made a "real programming exercise" based on this idea. It uses random input and cannot be hard coded.
https://www.codewars.com/kata/find-the-shifted-words
Please let me know what can be improved. Hopefully this one will make it out of beta.
There is only one fixed test and the answer can be hard coded because there's only one answer. Most people who figured out the original puzzle on NPR probably didn't write a program to solve it...I did, so I turned it into a kata.
I edited it to make the directions more clear.
Fixed it!
Woops! First time writing a kata. I think I fixed it.
That was harder than I thought it would be.