GameOfLifeTests OktagonSeedShouldHaveSameShapeAgainAfterFiveTicks 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 OktagonSeedShouldHaveSameShapeAgainAfterFiveTicks()
Examples

[Test, CloseAfterFirstFrame]
public void OktagonSeedShouldHaveSameShapeAgainAfterFiveTicks()
{
    InitializeGameOfLife(new Size(10));
    gameOfLife.BatchReviveCells(GameManager.OktagonSeed);
    for (int i = 0; i < 5; i++)
        gameOfLife.SimulateNextGeneration();
    AssertAllCellsAreAlive(GameManager.OktagonSeed);
}
See Also