Ejemplo n.º 1
0
 public void AngelOfDeathPulsar()
 {
     World world = new World();
     world.AddCell(0, 0);
     world.AddCell(0, 1);
     world.AddCell(0, -1);
     world.AngelOfDeath();
     Assert.IsNotNull(world.GetCell(0,0));
 }
Ejemplo n.º 2
0
 public void DeathRule()
 {
     World world = new World();
     world.AddCell(0, 0);
     world.AddCell(0, 1);
     world.AddCell(-1, -1);
     Assert.AreEqual(3, world.Count());
     List<Cell> actual= world.AngelOfDeath();
     Assert.AreEqual(2, actual.Count);
 }