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.
This comment is hidden because it contains spoiler information about the solution
this seems to be a valid issue still:
It should work for random inputs too - Expected: '517999.99999999994', instead got: '518000'
This comment is hidden because it contains spoiler information about the solution
Thank you
Last of Sample Tests seems to be incorrect:
["b", "c", "b", "a"], ["", "a", "a", "c"]), 0
array2[0]=== "" - gives 0
array2[1]!== array1[1] - gives -1
array2[2]!== array1[2] - gives -1
array2[3]!== array1[3] - gives -1
the sum shoud be -3 (0-1-1-1).
Colud you please state why it is 0 not -3?
Still not getting this. I am able to generate random string and random function but for random functions the result is also "random". My idea is to review some beta kata- maybe there I can find some example random tests?
done
yes it is not cause I am not very good at testing and have no idea how to test it. Would you be so kind and provide sufficeint feeback?
yes it is not cause I am not very good at testing and have no idea how to test it. Would you be so kind and provide sufficeint feeback?
I just added some more tests. How much tests would be sufficient, please?
Cleaned