Example #1
0
 public void Test_Multiply()
 {
     int[] array    = new int[4];
     int[] first    = { 1, 3, -5, 4 };
     int[] second   = { 1, 4, -5, -2 };
     int[] expected = { 1, 12, 25, -8 };
     Assert.Equal(expected, MultiplicationOfTwoArray.Run());
 }
        public void Test_MultiplicationOfTwoArray()
        {
            int[] firstArray  = { 1, 3, -5, 4 };
            int[] secondArray = { 1, 4, -5, -2 };
            int[] expected    = { 1, 12, 25, -8 };

            Assert.Equal(expected, MultiplicationOfTwoArray.Run(firstArray, secondArray));
        }