Ad
  • Custom User Avatar

    CW is not required to support IDEs. Closing.

  • Custom User Avatar

    Congratualtions to the author on quite a demanding kata.
    Two things would be worth adding in my opinion:

    1. Mention the timeouts and explain that brute force solution will not pass - some people might think this is a platform instability and not an intended "twist".
    2. Include one or two more complex examples upfront. The ones given are pretty trivial and don't convey the spirit of the assignment well.
  • Custom User Avatar

    You can check all the random cases too, after priting them

  • Custom User Avatar

    There is a kata with slightly more stuff in it.

  • Custom User Avatar

    I used the "Suggest an optional improvement" link and confirmed it all with pressing the "Add Suggestion" button. The UI must have messed up.

  • Custom User Avatar

    I would suggest...

    And why is this an issue and not a suggestion?

  • Custom User Avatar

    The kata is a beginning of something. In the current form much too easy.
    I would suggest adding another members (of other types) and any kind of interaction between members. Maybe a dedicated method for turning the lamp on and off?

  • Custom User Avatar

    Description does a poor job of explaining the aim of the kata.
    The "figure out the rest from the given test cases" part would take care of that if there were more than 3 very basic (Java) test cases.
    Could definitely improve with more (and more complicated) test cases.

  • Custom User Avatar

    The name of the main class is different than the test class.
    This confuses IDEs. They should be the same (with test class having a "Test" suffix).