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.
B116013, check out mgol's answer. I think there is no issue. Please open a new question if you still have one.
Check out for number 5: If a block to be encoded contains all nulls, then that block is encoded as a simple z (ASCII 122) rather than the fully-encoded value of !!!!!
You have to check if the input is zero padded
Seems to work perfectly fine, now (I just checked with the sample tests)
:)
EDIT: if ggmoy did the translations of the 2 remaining verison (if I remember well, I have already corrected the 2kyu version), you should take a look at those. He certainly did the same mistake in the other versions.
@B116013 I think I fixed the Java translation, feel free to ping me if you find any other Issues :)
@Blind4Basics Thanks for the offer but I've published and approved a fork to @ggmoy's Java translation already. It would be great if you could test the Java translation for me though, just to confirm that there are no other Issues :D
I'm no one... ;-p (most of the time, at least). You take care of this ?
Thanks for stating the language in which you are encountering this Issue.
By that, I suppose you mean "the actual and expected values are swapped in the assertions"? I've just checked the Java translation for this Kata and again, the actual and expected are in the wrong order *sigh*. Why does no one ever translate a Kata into Java correctly?
In response to this Issue Report, I will be fixing the Java translation shortly. Thanks for the report :D
@Blind4Basics,
Many thanks for the fix, your fork of @ggmoy's Java Translation has been reviewed and approved :D
Cheers,
donaldsebleung
P.S. B4B, a little bit off topic, but I would like to confirm once more that the order of arguments in a typical JUnit assertion is [message, ]expected, actual? I will make sure to keep that in mind when reviewing future Java translations :)
Hi,
I checked it and the
actual
andexpected
are effectively swapped in Java. I forked the translation to correct it. ;-)Cheers,
B4B
Thanks for taking the time to tell me which language you are referring to. Of course it's Java (again, sigh) - a few other users have commented that Java is a special snowflake here on Codewars in terms of writing and translating Kata.
If you are still stuck on this Kata and would like help regarding why the assertions are failing, please copy and paste the relevant test output here (including key details such as actual and expected values, and the arguments passed into your interpreter) so I may investigate this "Issue" and determine whether it is a problem of this Kata or a problem of your solution.
Additionally, you could also copy and paste your current solution here and mark it as a spoiler, and I'll see if I can spot the problem (I don't really know Java though). Hope this helps :)
Resolving this Issue because:
A few things to note before you file an "Issue" on a Kata:
I don't understand. Please could you give your language and be more precise.