Esempio n. 1
0
 public void TestBottomLeftCellCloning()
 {
     var cell = new BottomLeftCell();
     cell.ShouldLive();
     AbstractCell cloneCell = cell.Clone();
     CompareClones(cell, cloneCell);
 }
Esempio n. 2
0
 public void TestBottomLeftCellNeighbourAccessibility()
 {
     var cell = new BottomLeftCell();
     Assert.AreEqual(false, cell.CanHaveBottom);
     Assert.AreEqual(false, cell.CanHaveBottomLeft);
     Assert.AreEqual(false, cell.CanHaveBottomRight);
     Assert.AreEqual(false, cell.CanHaveLeft);
     Assert.AreEqual(true, cell.CanHaveRight);
     Assert.AreEqual(false, cell.CanHaveTopLeft);
     Assert.AreEqual(true, cell.CanHaveTopRight);
     Assert.AreEqual(true, cell.CanHaveTop);
 }