public void ArrayMaxValueTesting() { int[] arr = { 2, 4, 7, 1 }; int expected = 7; ScientificCalculator a = new ScientificCalculator(); int actual = a.ArrayMaxValue(arr); Assert.AreEqual(expected, actual); }
public void ArrayMaxValueTesting() { int[] arr = { 2, 4, 7, 1 }; int expected = 7; ScientificCalculator a = new ScientificCalculator(); int actual = a.ArrayMaxValue(arr); Assert.AreEqual(expected, actual); }