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.
wym by fork
added in the fork ~~
This comment is hidden because it contains spoiler information about the solution
I'm going to assume that they pasted their code into some sort of formatter. Lol!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
You're wrong if the test is
Test.assertEquals(divisibleCount(0,1,7),1);
0 is divisible by any number (except 0) and that's the number being counted, not 1.Thank's! I saw it after submitting( It was my first Object Kata, so I tried all stuff to make it. And was very happy when all the test passed!)
This comment is hidden because it contains spoiler information about the solution
getSize(4,2,6) returns [88,48]
when getSize(4,2,6)[1] refers to [88,48][1] = 48, test case refering to ouput index value.
why not?