Exemple #1
0
 public void TestBottomCellNeighbourAccessibility()
 {
     var cell = new BottomCell();
     Assert.AreEqual(false, cell.CanHaveBottom);
     Assert.AreEqual(false, cell.CanHaveBottomLeft);
     Assert.AreEqual(false, cell.CanHaveBottomRight);
     Assert.AreEqual(true, cell.CanHaveLeft);
     Assert.AreEqual(true, cell.CanHaveRight);
     Assert.AreEqual(true, cell.CanHaveTopLeft);
     Assert.AreEqual(true, cell.CanHaveTopRight);
     Assert.AreEqual(true, cell.CanHaveTop);
 }
Exemple #2
0
 public void TestBottomCellCloning()
 {
     var cell = new BottomCell();
     cell.ShouldLive();
     AbstractCell cloneCell = cell.Clone();
     CompareClones(cell, cloneCell);
 }