assert.deepEqual should be used
Node 12. should be enabled
Ruby 3.0 should be enabled, see this to learn how to do it
Please organize the structure of test fixture as following (although it has been mentioned in the attached link, I'm repeated here again)
describe "<This message should describe the categories of test groups inside this block>" do
it "<A short message describing this test group>" do
expect(...).to eq(...) #Assertions
#Or Test.assert_equals(user_response, reference_response)
The description should state that numbers in the array will always be integers.
A descending sorted dict takes care of all the test cases.
Duplicate of Moving Zeros To The End.
That one also does not have random tests :[ and only has JS, not Haskell ( yet ). It has a slew of other languages though.
I have some problems when submitting for the full tests in python.
I pass 84 of the but but 23 do fail for some reason.. I have tried debugging and it looks like the number the test want don't even appear in the array given.
Does anyone know anything about it? Is it something whith the tests or my code?
There is a need to more test cases. I highly recommand adding a test for this one:
[10, 12, 8,8, 12, 12,8, 6, 4, 10, 10]
More tests needed.
CofeeScript translation Kumited! Please Accept :D
Needs random test cases
Something wrong with final test. I've submitted my solution, but it's wrong. I think it's because console.log(). I can't submit it without logs.
This comment is hidden because it contains spoiler information about the solution