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.
Got the same problem. When i submit response is kinda
Excellent! You may take your time to refactor/comment your solution. Submit when ready.
but the submit stay blue.Why am i not able to submit ? it says click "submit" to submit but when I click it it keeps giving me the green signal
I know but the site is really buggy. If I do that the users won't be able to make their own tests. I've tried it all and putting it in the code like this was the only way to make it work both when users write their own tests nd when running "my" tests and submission.
The test framekwork really needs a native function to compare objects.
Anyway, since @overzealous showed me that there already was a kata like this, I'll remove it.
Damnit, I did search for it but didn't find it.
Thanks for the heads up, I'll remove this.
I know but the site is really buggy. If I do that the users won't be able to make their own tests. I've tried it all and putting it in the code like this was the only way to make it work both when users write their own tests nd when running "my" tests and submission.
The test framekwork really needs a native function to compare objects.
Thanks for the comment. I will probably remove this kata until the test framework is better.
You should use this order function in your tests instead of forcing the users to write it in their code.
Sadly, this kata has already been written and approved.
While yours has a more interesting backstory, it's the exact same test (excluding the odd sort requirement).
Also, it should only be used within the test framework, not within the user's function. It doesn't make sense for the user to have to "sort" the result.
The sortObj function should be outside of the solution area to keep it uncluttered. The "Preloaded" section is the proper place to put code to be used (but not edited) within the solution.