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.
As I told you in the previous issue the key cannot be longer than 17 as indicated in the kata description.
Could you tell me the key and the phrase you used please?
1-the random tests are in the correct order following
assertEquals(expected, actual)
we can share a pic if you need it2- the decode method is made exactly like the encode method.
3- we want the messages to be encrypted to be long so that you cannot use
System.out.print()
to debug4- for the same reason we have put so many test cases
5- in the example you put you are using a key with inadequate length, the key you have passed as example has length 18 when previously I specified you that we have changed it to a maximum length of 17, it is marked in the description as well.
Thanks for all!
We have corrected the random tests cases so now they fit the form
assertEquals(expected, actual)
Now the maximum key length is 17 instead of the previous 25.
Please try to solve it again.
Thank you so much!!
We have specified that it should return the phrase.
Now the maximum key length is 17 instead of the previous 25.
Thanks!!
What do you mean the tests are in reversed order?
in the source code the method is defined like this:
static public void assertEquals(long expected, long actual) {
assertEquals(null, expected, actual);
}
we will review the ranges.
thanks!!
java translation for revision
java translation for revision