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.
Thanks! Fixed.
I would think a Hobbits worth would be more than a 1 considering they changed the course of Middle Earth :)
Not sure how this would be considered best pratice. Several checks that are not needed.
Added testcases for leap year, removed test cases from the 'sample test cases' to keep the sample smaller.
Reworded the question, removed the SO link.
Broke them up into two unit test. Any suggestions for abstracting it more?
Thanks for the code review Chris. Removed my interfaces/classes from the Kata class in the starting code.
Strange. i checked again and it is not static. Perhaps a refresh? I republished anyway just to make sure the changes commited. Also removed static from my soultion (private static IClock _clock;)
fixed. Thanks Chris.
Makes perfect sense. No clue why I left that static. Thanks for the advice.
Added interfaces/classes for IClock in the Initial Solution. Added more details as to what is required of you. Added lionk to stackoverflow reference.
Sounds good. Will add more detail
Sounds good. Good advice
I decided to take a different approch and make the Kota a little more complex. The problem with my last unit test is that it would fail in less than a year from now. This is due to DateTime.Now being ever changing.
Thank you. will do