You need to sign in or sign up before continuing.×
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.
Pay attention to spaces. Your current solution (different from what you wrote in your comment) has two spaces after the comma and is missing a space after
about
.Thanks
That's because your IDE does not have all the tests that are run by the testing suite for this kata on Codewars.
You will have to rely on the tests here on site. If you wish you, can print the input and observe the expected output for any one test. Then you could add that test to what you're using off-site. Personally, I think it's easiest to just stay on Codewars to complete these tasks for this reason.
This comment is hidden because it contains spoiler information about the solution
When i move my solution on the other IDE i see all goes well but here my code doesn't pass
it should be here
Translation Dart
Haskell translation
IMHO , for the parameteers instead of 'new_stock' , the term 'delivery' or 'new_delivery' seems more appropriate to the objet of the calculations
Added
Merged
JavaScript should use
chai
assertionsdone there, also adding random tests (fixing this issue)
Ok, thank you
Your comparison function is not a valid comparison function. Comparers used in
sort
have to conform to specific requirements, and yours does not.Hi. Whats the problem with tests for this kata? I have the same output as it need, sorted well. I checked it in jsbin, codepen, in console i see the wright output. But only codewars shows me not sorted output. What s is wrong?
Retired as a duplicate.
Loading more items...