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.
Hi- thanks for your feedback, have you now submitted a solution? If you are still having problems with the tests please let me know and I'll look into it.
Thanks for completing the kata! That's a great idea- I was definitely thinking of doing a more complicated version and increasing the difficulty.
Great! Thanks for your help :)
Thanks- I think I've managed to track down the issue, it was relating to how the arrays were passed into the solution function and my testing function. It should now be fixed, could you try out your solution again and let me know if the expected values are now working for you?
Thanks! and many thanks for completing my kata :)
Hi zruF - Thanks for trying out my kata. I can't work out what's happening here, unless something is changing in the global object. I've run the array [ [ 'Apples', 75 ], [ 'Pears', 9 ], [ 'Chocolate', 15 ] ] directly into the Random test check and it gives the correct expected answer of 475. Is this only happening for arrays containing Chocolate?
Thanks- I've updated the example tests