Ad
  • Default User Avatar

    I would like to see some feedback on tests that my code failed.

    I had so many times a good and interesting kata stuck on one or few failed tests. Some time it's my oversight sometimes it's poor description and may be a typo on the test case. However you just don't know what is wrong with it. It passes all the tests you have writen buy not ones that author did.

  • Default User Avatar

    Hi, I'm not sure if you can see my code or not. However if you want I can paste it here to check.
    My point is that when I do final attempt it fails on second test. All others are passed fine. It pisses me off that I can't see errors when it fails. It works fine on my computer and if it fails it should give some feedback. Show me the test cases that are failing and what do you expect to get it back. Thanks

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    Well, first of all its good that you are not taking my words offensively. :)
    "In English and programming, groups can be made using symbols such as "()" and "{}" that change meaning." - when I read this it implies that there is some meaning in English and/or programming context. Brackets have no meaning on its own, so this tells me that tests just not complete. Anyway this is just me.

  • Default User Avatar

    While this code works for checking strings with only brackets, it fails if you call like so group_check("(something)"). Which in my understanding is a must.(read description).
    I'm commenting here not to show that I'm better programmer. Quite opposite, I'm trying to learn programming that why I study the best solutions.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution