public void CheckCellMoveInGridWrap() { CellCoordinate cell = new CellCoordinate(3, 8); Assert.True(cell.MoveToNextCellInGrid()); Assert.Equal(4, cell.row); Assert.Equal(0, cell.column); }
public void CheckCellMoveInGridLastCell() { CellCoordinate cell = new CellCoordinate(8, 8); Assert.False(cell.MoveToNextCellInGrid()); }