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.
haha - you caught me, I created the solution on my phone on the way home and coudln't access a tab key at the time.
Speaking of indenting, nice solution Giacomo (*clicks neck back into place after staring so far to right of my screen *) :P
I've replaced my test function with yours and now everyone elses previous submissions are not passing... I think the problem is the random tests are being generated too quickly for slower solutions to process correctly, working on a fix now
Tests are working now, also working with random test cases, I ensured number arguments were passed in too, hopefully all fixed if you're able to test?
Sure, thanks- any help would be super :)
No tests seem to be working now...
I tried replacing actual/expected as advised without success, then I commented out the test cases altogether to restore how it was previously without them, but still the test are just not running, without any info given why
Thank you for the feedback- I didn't consider random test cases! I've added 10 random tests with randomly generated sentences :)
checked and it is 'h3llo' in the example :)
Thank you- I completely overlooked that! Have fixed example description
This comment is hidden because it contains spoiler information about the solution
Thanks for the feedback! Completely overlooked the potential confusion there- I've changed the template code to use 'digits' instead of 'num' to ensure it's meaning is seperate from the actual number passed in :)
Part of the problem was my test case function was using toString which didn't behave as expected for numbers 18-19 digits in length.
I've edited and republished to include your solution for the test cases, to ensure accuracy, great solution btw!