public void GetCell_TestWithValidCellPosition() { int gridRows = 10, gridCols = 10, minesCount = 4; MinesweeperGrid grid = new MinesweeperGrid(gridRows, gridCols, minesCount); MinesweeperCell cell = grid.GetCell(1, 1); Assert.AreEqual(MinesweeperCell.EmptyCell, cell.Value); }
public void GetCell_TestWithInvalidCellPosition_ShouldThrowException() { int gridRows = 10, gridCols = 10, minesCount = 4; MinesweeperGrid grid = new MinesweeperGrid(gridRows, gridCols, minesCount); MinesweeperCell cell = grid.GetCell(10, 1); }