Esempio n. 1
0
        public void FindMinTests(int[] array, int expected)
        {
            ArrayMyList actual = new ArrayMyList(array);

            Assert.AreEqual(expected, actual.FindMin());
        }
Esempio n. 2
0
        public void FindMinNegativTests(int[] array, int expected)
        {
            ArrayMyList actual = new ArrayMyList(array);

            Assert.Throws <Exception>(() => actual.FindMin());
        }