public void ArrayReductionTest(int[] arr, int[] expected) { MyArrayList myAL = new MyArrayList(arr); int[] actual = myAL.ArrayReduction(); Assert.AreEqual(expected, actual); }