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.
Very interesting implementation. I don't see a reason to do this in C-style, but definitely a good job.
Hope you got this handled. Thanks for helping AcesOfGlory. This looks like what is happening is that the assertEquals test function uses strict comparison which this doesn't pass. Read more in the testing docs here:
http://www.codewars.com/docs/js-slash-coffeescript-test-reference
And as AcesOfGlory mentioned, please keep these comments on the kata page.
Which Kata is it (send me a link) and which language did you do it in? If the problem is Kata specific, you should post on the discourse page for that Kata instead of the forum which is for general topics. It's possible that you are giving the wrong data type - maybe it wants a string and you gave a float or vise versa.
Hi guys. I was working on a Kata and everything looks good, but the program cannot pass the test, here is the error:
Expected: equal to 1.2125
Actual: 1.2125
Expected: equal to 1.03128
Actual: 1.03128
Seems that I got all of them right, but it just won't let it go through, can anyone help me with it? Thank you very much for your time!!
Alex
Best solution so far
Welcome to Codewars!
You can print the input parameter directly to the console so that you can see where you went wrong.
I am new to the community. I was working on a challenges and my code passed 9 out of test cases. I really want to know which case did the program failed so I could figure out why the code was not running properly. Is there a way I may know which test case I was wrong?
Thank you for your time