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.
I see what you mean. I will work on better descriptions when I have time later today.
The assertion message should not share the duplicate message with
it
block, I suggest you read thru the materials given before proceeding to resolve issues ^^Also, you should add them to random tests too or else messages like
None should return False
is not informative nor debugging-friendlyThank you. I have added assertion messages to all fixed tests. Let me know if they are not detailed enough.
Read 7th bullet point here You may refer to here on how to scrutinize tests and write proper assertion messages
I don't understand what standard is being addressed. Is there a link to best practices that I missed? Thank you.
With the current standards and being a 8kyu, assertion messages (inputs) must be provided to fixed and random tests at least to aid beginners in debugging
Thank you. Republished
With the issues addressed and closed, you can republish the kata.
Changed to margin of error.
Changed to margin of error on perceived time per JohanWiltink's comment
Rounding is not the correct way to handle floating point representation inaccuracy, testing with an error margin is. This is documented.
This is not enough information. In addition to the required precision, the kata should also specify the rounding method (e.g., half-to-even), and when to apply the rounding (e.g., on the sum at the end).
Thanks! It works well now
No sample tests.
Phantom JS version
Loading more items...