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.
Made it so that the data type returned always needs to be a string across the board. And I figured out how to implement one random test, but will be looking how to make them a little more specific for edge cases.
thanks so much!
Here is the documentation on Random Tests specifically, but it's a good idea to read up on the rest of it where authoring a kata is concerned. cheers!
Thanks! I didn't think of that. I can refactor it to make all the data types the same.
Returning different data types is not good practice.
I did look through all the Kata that it said was similar and non of them were really exactly the same.
Will fix this! Good point.
Yeah this is my first time trying to write something like this out. Couldn't figure out how to include random arrays with chai. Do you have some documentation that might be able to help me implement this?
lol I see what you did there
It's not mentioned what kind of elements we can expect in the array.
It's likely a duplicate of katas like https://www.codewars.com/kata/580a4734d6df748060000045
Kata needs random test cases