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