public void then_center_dies() { int[,] nextworld = GOL.Spin(world); Assert.AreEqual(0, nextworld[1, 1]); }
public void then_right_top_stays_dead() { int[,] nextworld = GOL.Spin(world); Assert.AreEqual(0, nextworld[2, 0]); }
public void then_corner_becomes_alive() { int[,] nextworld = GOL.Spin(world); Assert.AreEqual(1, nextworld[2, 0]); }
public void then_center_top_becomes_alive() { int[,] nextworld = GOL.Spin(world); Assert.AreEqual(1, nextworld[0, 1]); }
public void then_center_stays_alive() { int[,] nextworld = GOL.Spin(world); Assert.AreEqual(1, nextworld[1, 1]); }