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

[Test, CloseAfterFirstFrame]
public void RunningSimulationIncrementsGenerationByOne()
{
    Assert.AreEqual(0, gameOfLife.Generation);
    gameOfLife.SimulateNextGeneration();
    Assert.AreEqual(1, gameOfLife.Generation);
}
See Also