public void ArrayLengthTest(int[] myArray, int expected) { // act var actual = LabWork.GetLengthOfArray(myArray); // assert Assert.AreEqual(expected, actual); }
public void GetLengthOfArrayTest(int[] array, int expected) { var actual = LabWork.GetLengthOfArray(array); Assert.AreEqual(expected, actual); }
public void ArrayLengthTest(int[] myArray, int expected) { var actual = LabWork.GetLengthOfArray(myArray); Assert.AreEqual(actual, expected); }