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.
Yes, did it in another fork again
thanks for the fork
could you make all of the tests suite functions
static
? this prevents namespace pollution, and users trying to cheat / mess with the testsOkay :D So much to learn..
I don't know if i did the right thing, couldn't find the edit button that let me to the old version. So i just did a new fork of the translation. It's waiting for approval.
you edited the translation, this has no effect on the kata once it has already been approved ;-)
you can edit the kata's C version directly with the 'Edit' button when viewing the kata
Thanks for this Advice. I Fixed it :)
@lnx1_1
Criterion's default error messages are not very helpful :
How do I debug my code with this kind of message ?
You need to override it by supplying an extra argument to the assertion. Criterion assertions can take an optional
printf
format string parameter and corresponding arguments :to avoid code duplication, assertions are usually wrapped in a function :
Could you please edit the C version to do this ?
This comment is hidden because it contains spoiler information about the solution
Oh, you're right! Didn't see that :)
Had the random Test in "Sample Test".. fixed it now
PLease add random test cases
Because he uses it outside the loop then. Try and see what happens, much better than ask for explanations ;)
This comment is hidden because it contains spoiler information about the solution