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.
Always check the progress should be zero when user reaches level 8.you should check that finally after all increments
thanks
yes its a good thing, was a great think, congratz!
Is it a good thing?
Show
B1ts - yeah, there was a subtle case I was missing in the control flow. Writing my own tests helped sort it out. Thanks again.
users start at rank -8, not 8, you're not testing the same thing
Not a kata issue, so nothing to resolve. Try logging something in each method and instantiaton to see the full chain of method calls, then you can replicate it in your IDE.
Agreed, that was part of my post. Thanks for marking this as "resolved".
First of all, there is no python 3.7 on CW, but that doesn't really change anything. Just because the tests suite is named like that, you can't know what other tests may be run in it, unless you log something from every method.
There's over 2000 completions in python, so I don't think it's a kata issue.
Hi, yes. That's what it does in the IDE, as I try to explain in my post.
after a user reaches rank 8, his progress should always be 0
Hello, my code (in Python 3.7) passes all tests except one, where I get the following message:
After applying rank of 8 the progress was expected to be 0, but was actually 1: 1 should equal 0
However, if I run this in my IDE:
The output, as expected, is
0
.... Not sure whether to mark this as issue. Any suggestions?Yes, sorry, my bad. I misinterpreted.
thankyou broo !
Loading more items...