Ad
  • Custom User Avatar

    Sorry, I forgot that part! :)
    thanks!!

  • Custom User Avatar

    Hi, I'm trying this kata, but it seems that your tests are wrong with the numbers higher than 10:

    it("Testing for [4, 6, 7, 1, 3]", () => assert.deepEqual(incrementer([4, 6, 7, 1, 3]), [5, 8, 0, 5, 8]));
    it("Testing for [3, 6, 9, 8, 9]", () => assert.deepEqual(incrementer([3, 6, 9, 8, 9]), [4, 8, 2, 2, 4]));
    it("Testing for [1, 2, 3, 4, 5, 6, 7, 8, 9, 9, 9, 9, 9, 8]", () =>
    assert.deepEqual(incrementer([1, 2, 3, 4, 5, 6, 7, 8, 9, 9, 9, 9, 9, 8]), [2, 4, 6, 8, 0, 2, 4, 6, 8, 9, 0, 1, 2, 2]));
    });

    the first one should return [5, 8, 10, 5, 8], the second one [4, 8, 12, 12, 14] and so on. Can you fix it so I can complete it?

    Thanks!