Ad
  • Custom User Avatar

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

  • Custom User Avatar

    I wasn't mutating the array but it was something else. The error message for the 3rd test is wrong when you click test but correct when you click attempt as the attempt tests have a different items array. It was only when I got some visibility that I was able to work out what was happening.

  • Custom User Avatar

    This test: items.contains_all?([9,2,5,4,10]), false, 'items.contains_all?([9,2,5,4,10] should have been true') is passing when I click test but failing when I click attempt. From what I can tell it should return false, which it does when I click test but when I click attempt it returns true. I'm assuming it's a bug/issue but I have no idea how to solve it. Anyone have any ideas? Thanks.

  • Custom User Avatar

    Thanks Pablo. My fault as I missed something in the instructions, ha ha! Now that I've sorted that, I'm getting closer to solving it. Thought I had but I need to fix one aspect of my logic. This is a good Kata though so thanks :)

  • Custom User Avatar

    I am doing this in Ruby and I believe there is an issue. This is test case 18: Test.assert_equals(points("44421"), 0) but I believe it should be returning 30 as there are 3 x 4s. I also noticed the input in this test is in the 0 point output section of the instructions so guessing someone has copied it from there to create the test. Please can this be fixed as currently I can't complete this Kata. Thank you.

  • Custom User Avatar

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