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.
It is not obvious what is written in the tests output. Especially for beginners.
I barely understood that in first line is a "sunday" checking, in second - month and in third - date. Please, make more informative outputs.
#dstEnd with year 2004
Test Passed: Value == 0
Test Passed: Value == 10
Test Passed: Value == 7
Hi,
it is unnecessary to use construction like: n % 2 == 0? true : false
because n % 2 == 0 returns boolean value.
You could simply write return [isPrime, n % 2 == 0, n % 10 == 0];
And it will work fine.
Dieser Kata ist lustig :)
The same problem
I found what is wrong with my code=)
I interpreted the last comma after "currency" as a part of the answer(and I made a code for it), but it is only separator between the expected and real answer ^_^
I leave this post here for somebody else who can have problems with commas.
Hmmm... I have right answers, but still I can`t pass test:
Expected: 123,456, instead got: 123,456,
Expected: 1,234, instead got: 1,234,
Expected: 123, instead got: 123,
Expected: 123,456,789,012, instead got: 123,456,789,012,
I can`t get what is wrong with the output