Ad
  • Default User Avatar

    What in the world?? If you could message me what is going on here I'd really appreciate it.

    My guess:

    The test class used in Codewars at some point uses the return value from decompose() to compare with the parameritized expected value... and for some reason this intercepts the inhertiance chain of whatever ruby method is being used to compare identity.

    Eg.. decompose(11) == [10,4,2,1] ----> EQUALITY == ([10,4,2,1])
    => true

    Am I right? :O