Ejemplo n.º 1
0
 public Neighbourhood(Cell cell, Cell cell1, Cell cell2, Cell cell3)
 {
     Cells = new List<Cell> {cell, cell1, cell2, cell3};
 }
Ejemplo n.º 2
0
 public void NeighbourhoodsContainFourCells()
 {
     var cell = new Cell();
     var neighbourhood = new Neighbourhood(cell, cell, cell, cell);
     Assert.AreEqual(4, neighbourhood.Cells.Count);
 }
Ejemplo n.º 3
0
 public void NeighbourhoodsContainFourCellsInAGrid()
 {
     var cell = new Cell();
     var neighbourhood = new Neighbourhood(cell, cell, cell, cell);
 }
Ejemplo n.º 4
0
 public void CellsHaveAStatus()
 {
     var cell = new Cell();
     Assert.AreEqual("v", cell.Status);
 }