Exemplo n.º 1
0
 public void TestCellCreatorCreateMineCellWithNegativePosition()
 {
     CellFactory factory = new CellCreator();
     IGameObject cell = factory.CreateMineCell(new Position(-1, 5));
 }
Exemplo n.º 2
0
 public void TestCellCreatorCreateMineCell()
 {
     CellFactory factory = new CellCreator();
     IGameObject cell = factory.CreateMineCell(new Position(1, 1));
     Assert.IsInstanceOfType(cell, typeof(MineCell));
 }