Ad
  • Default User Avatar

    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.

  • Default User Avatar

    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

  • Custom User Avatar

    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.

  • Custom User Avatar

    Damnit, I did search for it but didn't find it.
    Thanks for the heads up, I'll remove this.

  • Custom User Avatar

    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.

  • Custom User Avatar

    You should use this order function in your tests instead of forcing the users to write it in their code.

  • Custom User Avatar

    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).

  • Custom User Avatar

    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.

  • Custom User Avatar

    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.