• Custom User Avatar

    Thanks! Fixed.

  • Custom User Avatar

    I would think a Hobbits worth would be more than a 1 considering they changed the course of Middle Earth :)

  • Custom User Avatar

    Not sure how this would be considered best pratice. Several checks that are not needed.

  • Custom User Avatar

    Added testcases for leap year, removed test cases from the 'sample test cases' to keep the sample smaller.

  • Custom User Avatar

    Reworded the question, removed the SO link.

  • Custom User Avatar

    Broke them up into two unit test. Any suggestions for abstracting it more?

  • Custom User Avatar

    Thanks for the code review Chris. Removed my interfaces/classes from the Kata class in the starting code.

  • Custom User Avatar

    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;)

  • Custom User Avatar

    fixed. Thanks Chris.

  • Custom User Avatar

    Makes perfect sense. No clue why I left that static. Thanks for the advice.

  • Custom User Avatar

    Added interfaces/classes for IClock in the Initial Solution. Added more details as to what is required of you. Added lionk to stackoverflow reference.

  • Custom User Avatar

    Sounds good. Will add more detail

  • Custom User Avatar

    Sounds good. Good advice

  • Custom User Avatar

    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.

  • Custom User Avatar

    Thank you. will do