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