public void Not_Perm_When_duplicate_exist() { var counting = new CountingElement(); var nums = new int[] { 3, 1, 2, 4, 3 }; Assert.Equal(0, counting.Check_Perm(nums)); }
public void Is_Perm() { var counting = new CountingElement(); var nums = new int[] { 1, 2, 4, 3 }; Assert.Equal(1, counting.Check_Perm(nums)); }