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.
No problem! So now you can either take out the tests with decimals, or remove the instruction that says only integers (: just so that the instructions are not misleading.
haha one thing you could do is at the top of your tests, put this:
That way, if Math.pow is called, it'll run your custom implementation of it that just automatically fails.
"Obs: x and y will be integers, so DON'T take fractions into consideration"
There is a test with y = 0.5, so either change this test or remove that statement from the instructions (: