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.
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