Ad
  • Custom User Avatar

    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.

  • Custom User Avatar

    Thanks for completing the kata! That's a great idea- I was definitely thinking of doing a more complicated version and increasing the difficulty.

  • Custom User Avatar

    Great! Thanks for your help :)

  • Custom User Avatar

    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?

  • Custom User Avatar

    Thanks! and many thanks for completing my kata :)

  • Custom User Avatar

    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?

  • Custom User Avatar

    Thanks- I've updated the example tests