Ad
  • Default User Avatar

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

  • Default User Avatar

    Same here I just wasn't paying enough attention to my solutions' logic
    NOTE: NOTHING IS WRONG WITH THE KATA ITSELF(this is just for future people who will struggle with it)

  • Custom User Avatar

    Problem solved after a lot of work. :)

  • Default User Avatar

    I want to know if the validate is supposed to have an '!'(in '!validate') because the ones expected to be true are turned false for no matter solution you try but if you add it the answer gets validated.
    Test.expect(validate('djI38D55'), 'djI38D55 - Expected true'); // Doesn't work
    Test.expect(!validate('a2.d412'), 'a2.d412 - Expected false'); // Works

    Test.expect(!validate('djI38D55'), 'djI38D55 - Expected true'); // Works
    Test.expect(!validate('a2.d412'), 'a2.d412 - Expected false'); // Works