Ad
  • Custom User Avatar

    'just wanted to make py3 available for the kata, but I discovered that the whole testing process was actually totally flawed... x(

    I updated the python test suite by:

    • adding two edge cases
    • changing the reference solution which was wrong
    • changing totally the process of the tests/assertions to actually match the requirements.
    • converting the class to namedtuple to avoid some kind of cheats (note: I didn't change the description on purpose, considering the goal is to use the getters)

    JS and ruby need to be updated yet...

  • Custom User Avatar
  • Default User Avatar

    In my opinion it should only be a duplicate, if the instance is of the same class and all instance variables are set to the same value. What is the definition of "duplicate" here? What instance is a duplicate in the test case according to the maker of this kata?

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    I didn't know that such a method exists. Well done!!

  • Custom User Avatar

    thanks for this kata. It took me a long time to figure it out but finally I could manage a solution that works.