Esempio n. 1
0
        public void Input_Int_Array_Empty_Substract_Int_Array_1_2_Should_Be_Int_Array_Empty()
        {
            var arrayDiffInitial = new ArrayDiffInitial(new int[] { }, new[] { 1, 2 }, new int[] { });

            ActualAreEqualExpected(arrayDiffInitial);
        }
Esempio n. 2
0
        private static void ActualAreEqualExpected(ArrayDiffInitial arrayDiffInitial)
        {
            var actual = arrayDiffInitial.Kata.ArrayDiff(arrayDiffInitial.Input, arrayDiffInitial.Substract);

            actual.Should().Equal(arrayDiffInitial.Expected);
        }
Esempio n. 3
0
        public void Input_Int_Array_1_2_2_Substract_Int_Array_1_Should_Be_Int_Array_2_2()
        {
            var arrayDiffInitial = new ArrayDiffInitial(new[] { 1, 2, 2 }, new[] { 1 }, new[] { 2, 2 });

            ActualAreEqualExpected(arrayDiffInitial);
        }