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.
your issue report is unclear. this behavior is normal and is the same across most languages on Codewars: the fixed and random tests are each in their own tests group / it block and are run separately.
duplicate suggestion
kak dela drug
That's on me. First I approved the transaltion with a bug, then I spotted the bug, then I fixed it in full tests, and forgot about sample tests.
Now the sample tests should be fixed too (remember to reset the trainer to see new sample tests).
Reason for the bug: C sample test's
tester
function should replace tolerance1e10
with1e-10
It's part of the kata to make that optional 3rd parameter working. While I might agree that it is hard to parse this task from the description this error message is not a kata issue but intended.
Appears to be resolved?
Fixed
.
fixed
no issue here. The
const
modifier tells you that you should not mutate the array. You can decide to write bad code and do it anyways, it's not the tests suite's concerni added plenty of details in the initial code; it is more than enough. if you dont know what an array or a comparison function are it is not the kata's responsibility to teach you that. also, low level languages are obviously harder than higher level languages; so complaining about the kyu rank is pointless.
in the initial code:
Loading more items...