public void UsingFunctionPlaceEmptyCellShouldReturn0() { var cell = new Cell(); var result = cell.placeEmptyCell(); Assert.AreEqual(0, result); }
public void EmptyCellShouldReturnTrueAndMineCellShouldReturnFalse() { var cell = new Cell(); cell.placeEmptyCell(); var resultEmptyCell = cell.CurrentState; cell.placeMine(); var resultMineCell = cell.CurrentState; Assert.AreEqual(false, resultEmptyCell); Assert.AreEqual(true, resultMineCell); }