Sorry about that, I've swapped them so they are now correct. I don't make Codewars Kata very often so I tend to forget the nitty gritties of creating one.
Added performace tests for bigger numbers. Thanks for the feedback. Now, in all my subsequent katas, I will remember to check for performance. Again, thanks a lot.
Sorry about that issue. I fixed it up by adding a solution function and then testing against that.
Thank you. Sorry to rowcased as well. There was definitely something wrong with the kata.
There must be something wrong with your code. I checked the random test cases and they seem to be working fine.
Other warriors have successfully completed the kata, so I don't think there's any problem with the kata.
The main reason I wanted to restrict imports was to see if anyone could solve the problem without using a variant of the gcd algorithm.
But, I have 'allowed' imports now.
Thanks for the response!
true
Sorry about that, I've swapped them so they are now correct. I don't make Codewars Kata very often so I tend to forget the nitty gritties of creating one.
Thanks so much!
Thanks. I added 50 random tests and I fixed the typo in the description.
I got the exact same problem. It doesn't make sense.
Added the input ranges for the different tests in the description. Thanks.
Added performace tests for bigger numbers. Thanks for the feedback. Now, in all my subsequent katas, I will remember to check for performance. Again, thanks a lot.
I do not understand your last statement 'There is a big difference whether or not number is representable as a float'
My bad - Added some test cases for None returns. Thanks.
Sorry about that issue. I fixed it up by adding a solution function and then testing against that.
Thank you. Sorry to rowcased as well. There was definitely something wrong with the kata.
There must be something wrong with your code. I checked the random test cases and they seem to be working fine.
Other warriors have successfully completed the kata, so I don't think there's any problem with the kata.
The main reason I wanted to restrict imports was to see if anyone could solve the problem without using a variant of the gcd algorithm.
But, I have 'allowed' imports now.
Thanks for the response!
Sorry for asking, but how would I test for imports?
If it's against the codewars rules for you tell me, then never mind.
Thanks!
Sorry about that. I fixed up the problem!
Thanks!