Ad
  • Custom User Avatar

    This is not a valid solution! It passes only by accident, because the tests are badly written.

    Add this test and try again:
    Test.expect(![3, -1, 0, 2].all(isGreaterThanZero), 'One is less than zero');

    Hint, when you return in the middle of a loop, the loop stops, therefore only the first element is being checked.

  • Custom User Avatar

    same problem here. You guys figure this out?