Exemple #1
0
 public void TestTopRightCellCloning()
 {
     var cell = new TopRightCell();
     cell.ShouldLive();
     AbstractCell cloneCell = cell.Clone();
     CompareClones(cell, cloneCell);
 }
Exemple #2
0
 public void TestTopRightNeighbourAccessibility()
 {
     var cell = new TopRightCell();
     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(false, cell.CanHaveTopLeft);
     Assert.AreEqual(false, cell.CanHaveTopRight);
     Assert.AreEqual(false, cell.CanHaveTop);
 }