public void TestGetIndexByRowAndColumn(int row, int column, int expectedIndex) { GridMath.GetIndexByRowAndColumnIndices(row, column).Should().Be(expectedIndex); }
public Cell GetCellByIndices(int rowIndex, int columnIndex) { return(cells[GridMath.GetIndexByRowAndColumnIndices(rowIndex, columnIndex)]); }