GameOfLifeTests LiveCellWithMoreThanThreeLiveNeighborsDies Method Delta Engine Documentation

Namespace: GameOfLife.Tests
Assembly: GameOfLife.Tests (in GameOfLife.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void LiveCellWithMoreThanThreeLiveNeighborsDies()
Examples

[Test, CloseAfterFirstFrame]
public void LiveCellWithMoreThanThreeLiveNeighborsDies()
{
    InitializeGameOfLife(new Size(3));
    ReviveAllCells();
    gameOfLife.SimulateNextGeneration();
    Assert.IsFalse(gameOfLife.IsCellAlive(1, 1));
}
See Also