public void GetIndexOfMaxElement_Tests(int mockNumber, int[] expected) { int[,] array = TwoDimentionalArraysMock.Get(mockNumber); int[] actual = TwoDimentionalArrays.GetIndexOfMaxElement(array); Assert.AreEqual(expected, actual); }
public void CountElementsThatLargerThenNeighbors_Tests(int mockNumber, int expected) { int[,] array = TwoDimentionalArraysMock.Get(mockNumber); int actual = TwoDimentionalArrays.CountElementsThatLargerThenNeighbors(array); Assert.AreEqual(expected, actual); }
public void Transpose_Tests(int mockNumber, int expectedMockNumber) { int[,] actArr = TwoDimentionalArraysMock.Get(mockNumber); int[,] actual = TwoDimentionalArrays.Transpose(actArr); int[,] expArr = TwoDimentionalArraysMock.Get(expectedMockNumber); Assert.AreEqual(expArr, actual); }