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.
oow i didn't know that... sorry.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
In this kata we have the example:
"var helper = new PaginationHelper(new List{'a', 'b', 'c', 'd', 'e', 'f'}, 4);
helper.PageCount; // should == 2
helper.ItemCount; // should == 6
helper.PageItemCount(0); // should == 4"
But you can't use it like this:
helper.PageCount; // should == 2
helper.ItemCount; // should == 6
Those are props - not a method!
And this kata is stupid. I wrote my code - and pass all 17 test and then pass 63 from 65 when was trying to submit. So - i rewrite it twice - but the same result - 63 tests were good. In my ps i couldn't reproduce any errors - so - i picked up this solution.
This is the first time i use someone's solution - but thit kata is so lame!
I know how to solve it - but they said - that it didn't pass some misterrious tests - i don't even know what kind of tests...
So, i got 63 from 65 =)
With love =)
This comment is hidden because it contains spoiler information about the solution
This is genius! =) Simple as a stone - elegant as a butterfly! =)