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.
Needs random tests
This comment is hidden because it contains spoiler information about the solution
This duplicates the "Function Cache" kata: http://www.codewars.com/kata/525481903700c1a1ff0000e1/. The exact same solution works for both.
Everything looks good, could be improved by adding a few test cases
User test cases
Nearly identical to an existing kata: http://www.codewars.com/kata/525481903700c1a1ff0000e1
Should add some tests for "Run tests", and details for fail tests.
Default test cases please.
If the reference returned by
report()
is supposed to match the current values, not a snapshot, then the description needs to say this. Ideally with an example, e.g.Need to create a test case that evaluates different functions don't share the same cache.