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.
I chabged 'year' to 'year-1' - problem with passing test is solved!
'...153' - thank you for link to Wiki. Now i understood why there are fales in test results.
But generally - my code is good.
Your code, as 1900 is the 19th century.
https://en.wikipedia.org/wiki/Century
As for me test in this kata is not fully correct.
For example, test expects 19th century for year 1900. My code gives answer 20th century (I think my answer is right). The same, for example for 2000 year - test "wants" answer 20th century, but my code gives - 21th century.
Where is problem?