public void ProductOfOddnums() { int[] b = new int[4] { 2, 3, 5, 4 }; //Arrange var test = new UnitTestMethods(); var actual = test.MultiplyOddNums(b); //Act var expected = 15; Assert.Equal(expected, actual); //Assert }
public void ProductOfOddnums() { int[] b = new int[4] { 2, 3, 5, 4 }; //Arrange var test = new UnitTestMethods(); var actual = test.MultiplyOddNums(b); //Act var expected = 15; Assert.Equal(expected, actual); //Assert }