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