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.
Result is too short
is clearly not whatminimum viable items
, as stated by the test block, means, so it's just plain confusing. It's also a very roundabout and kinda unreliable way of testing the actual requirement of not folding constants.If you want to check constants are not folded, you'd at least need to reconstruct the AST and check if they're structurally equal. That's the only way.
-1 + -0 == -1
too.Dividing an integer is not a novel idea.