Ejemplo n.º 1
0
        public int SolutionTest(int[] nums, int[] expected)
        {
            var solution = new Solution();
            var result   = solution.RemoveDuplicates(nums);

            Array.Resize(ref nums, result);
            nums.Should().BeEquivalentTo(expected);

            return(result);
        }