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