No sample tests.
No random tests.
This comment is hidden because it contains spoiler information about the solution
Removed the misleading "args" from Ruby and Python initial solutions.
Random tests added to JS
Care to write some? You may take it from ruby or python. If you post it here (with spoiler flags) I can add it to the kata. Also, if you can make a coffeescript version of it (it's similar to js, right?), I'll update that too.
It's rather expensive to generate and test huge arrays, so I simply removed that part of the description. It's an old kata after all, which tend to be a bit overrated, but the ranking cannot be changed anymore. Take the easy points and carry on :-)
Added random tests to ruby
Yeah got it. I thought it was just taking a list input. Thanks for the reply.
I mean you don't know the concept that is used in this kata.
oh I see, you mean args is not supposed to be a list?
Does your function take arbitrary amount of arguments, though?
There's a problem with the test cases in python. Even if you write no code and just say "return args", it says that the function only takes one argument. I think in the test cases it's not interpreting the given numbers as a list but as individual arguments.
User no more active. Question not properly specified.