public void FindMaxTests(int[] array, int expected) { ArrayMyList actual = new ArrayMyList(array); Assert.AreEqual(expected, actual.FindMax()); }
public void FindMaxNegativTests(int[] array, int expected) { ArrayMyList actual = new ArrayMyList(array); Assert.Throws <Exception>(() => actual.FindMax()); }