Пример #1
0
 public void TestCellCreatorCreateSafeCell()
 {
     CellFactory factory = new CellCreator();
     IGameObject cell = factory.CreateSafeCell(new Position(1, 1));
     Assert.IsInstanceOfType(cell, typeof(SafeCell));
 }
Пример #2
0
 public void TestCellCreatorCreateMineCellWithNegativePosition()
 {
     CellFactory factory = new CellCreator();
     IGameObject cell = factory.CreateMineCell(new Position(-1, 5));
 }