Example #1
0
        public void FindMaxTests(int[] array, int expected)
        {
            ArrayMyList actual = new ArrayMyList(array);

            Assert.AreEqual(expected, actual.FindMax());
        }
Example #2
0
        public void FindMaxNegativTests(int[] array, int expected)
        {
            ArrayMyList actual = new ArrayMyList(array);

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