public void UsingFunctionPlaceMineShouldReturnStar() { var cell = new Cell(); var result = cell.placeMine(); Assert.AreEqual("*", 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); }