Esempio n. 1
0
 public void TestRighCellCloning()
 {
     var cell = new RightCell();
     cell.ShouldLive();
     AbstractCell cloneCell = cell.Clone();
     CompareClones(cell, cloneCell);
 }
Esempio n. 2
0
 public void TestRightCellNeighbourAccessibility()
 {
     var cell = new RightCell();
     Assert.AreEqual(true, cell.CanHaveBottom);
     Assert.AreEqual(true, 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);
 }