Ad
  • Custom User Avatar

    Hey Johan, I've added a message with the expected possible solutions on failed tests; check it out! I've also clarified the outer parentheses issue. Thanks!

  • Custom User Avatar

    Hi Johan, the test should work for any possible parenthesis ordering as long as it evaluates correctly. Could you provide an example of the issue?

  • Custom User Avatar

    You're absolutely right! Thank you for bringing it to my attention, it should be solved now :)

  • Custom User Avatar

    Hi there! Noted, I originally prescinded of random tests for this one but they have now been added.

  • Custom User Avatar

    Thank you both Unnamed & Voile for pointing it out. I've added it to the Kata's tests.

  • Custom User Avatar

    I've now modified the description to clarify on the input list.
    Thanks!

  • Custom User Avatar

    Yeah, sounds good. Done!

  • Custom User Avatar

    I meant of a solution that would fail only in this case; just trying to understand how it can be an edge case :)

  • Custom User Avatar

    Changed the description; is it clearer now?

  • Custom User Avatar

    Hi there, thanks for the feedback. You are correct, it only checked that the returned expression equaled the sum of numbers in the list. However you still needed to solve the problem nevertheless, as it checked that impossible cases were detected and returned an empty string. Since there are several ways of writing the expression as a string I thought that would be an acceptable compromise for the tests, but I’ve modified them and now they check that any of all the possible solutions is returned (I’ve used St3f4n implementation). I’ve kept the example tests cases as they were, though :)

  • Custom User Avatar

    Could you give an example?

  • Custom User Avatar

    This. Is. Awesome. I never knew I needed this site so much. Thank you for this.