The to_s is redundant I think. to_s is automatically run on items inside #{}
Even if that's improbably, random tests should make sure that a != b. Ruby example shpuld be added to the description. Function names in Ruby are usually in snake_case.
a != b
snake_case
Duplicate of https://www.codewars.com/kata/counting-in-english-one-two-three-dot-dot-dot-to-2-quadrillion-2-000-000-000-000-000, http://www.codewars.com/kata/integer-to-english and many others
have added the missing test case and added a few random ones as well as a zero test case, that should have been there.
Added a random test generator that will create many random tests and validate.
This comment is hidden because it contains spoiler information about the solution
The to_s is redundant I think. to_s is automatically run on items inside #{}
Even if that's improbably, random tests should make sure that
a != b
.Ruby example shpuld be added to the description.
Function names in Ruby are usually in
snake_case
.Duplicate of https://www.codewars.com/kata/counting-in-english-one-two-three-dot-dot-dot-to-2-quadrillion-2-000-000-000-000-000, http://www.codewars.com/kata/integer-to-english and many others
have added the missing test case and added a few random ones as well as a zero test case, that should have been there.
Added a random test generator that will create many random tests and validate.
This comment is hidden because it contains spoiler information about the solution