Exemplo n.º 1
0
 public void TestBottomRightNeighbourAccessibility()
 {
     var cell = new BottomRightCell();
     Assert.AreEqual(false, cell.CanHaveBottom);
     Assert.AreEqual(false, cell.CanHaveBottomLeft);
     Assert.AreEqual(false, cell.CanHaveBottomRight);
     Assert.AreEqual(true, cell.CanHaveLeft);
     Assert.AreEqual(false, cell.CanHaveRight);
     Assert.AreEqual(true, cell.CanHaveTopLeft);
     Assert.AreEqual(false, cell.CanHaveTopRight);
     Assert.AreEqual(true, cell.CanHaveTop);
 }
Exemplo n.º 2
0
 public void TestBottomRightCellCloning()
 {
     var cell = new BottomRightCell();
     cell.ShouldLive();
     AbstractCell cloneCell = cell.Clone();
     CompareClones(cell, cloneCell);
 }