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