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.
Cmd/ctrl-F and look for "Java" here, so you find the last occurrence being of @hbakhtiyor, the translator.
Can you tell me how I find that? I have Java selected at the top when I went into this discussion.
Can you post this under the post of the translator of the
Java
version :)?Can you post this under the post of the translator of the
C#
version :)?This comment is hidden because it contains spoiler information about the solution
So it looks like the reason this works is because of the test method assertArrayEquals();
If actual's length is 0, the loop doesn't enter and no checks are done.