Ad
  • Custom User Avatar

    Please use code formatting when posting code. See https://docs.codewars.com/training/troubleshooting#post-discourse.

    Some extended test are wrong, please review them

    Expected x to equal y indicates that your function returned x when it should have returned y, not the other way around. Not a kata issue.

  • Custom User Avatar

    Some extended test are wrong, please review them

    Testing for arrayDiff([0,-12,20,1,20,-15,15,-8,-19,-19,1,2,3,17,-3,-5,19,-16,-18],[0,-12,20,1,20,-15,15,-8,-19,-19,1,2,3,17,-3])
    Should work for random arrays too: expected [ +0, -5, 19, -16, -18 ] to deeply equal [ -5, 19, -16, -18 ]

    0 it is in both arrays this shouldn't be in the array result, why are you expected 0?