public void TestCellCreatorCreateSafeCell() { CellFactory factory = new CellCreator(); IGameObject cell = factory.CreateSafeCell(new Position(1, 1)); Assert.IsInstanceOfType(cell, typeof(SafeCell)); }
public void TestCellCreatorCreateMineCellWithNegativePosition() { CellFactory factory = new CellCreator(); IGameObject cell = factory.CreateMineCell(new Position(-1, 5)); }