Beispiel #1
0
 private void Initialize()
 {
     Parallel.For(0, Rows, x => Parallel.For(0, Columns, y =>
     {
         currentGen[x, y] = new Cell();
         nextGen[x, y] = new Cell();
     }
         ));
 }
Beispiel #2
0
        public void CellShouldBeDeadAtInitial()
        {
            var cell = new Cell();

            Assert.AreEqual(cell.IsAlive, false);
        }