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.
Both should be possible!
I absolutely agree!
Just ignore these unit tests and submit? (They use
AreEqual
which is not right for floating point numbers comparision.)Seems to be a Codewars glitch.
What's the difference? :) Just add those back-leaning quotes around your JS-code...
I'm agree with the black box idea, it's where all the fun is, in a bug resolution.
I've add a test fixture to help people understanding the problem.
I don't agree that this needs more in the description , because this is a bugfix kata. These tend to be a sort of black box test, "this is broken and we don't know why."
It already has an example of how it's supposed to work, but I suppose providing a sample test case based on the code in the description would be nice, so the warrior doesn't have to write sample test cases just to see it fail.
What part do you think need to be more detailed ?