GameManagerTests SimulationRunsWithFourTickPerSecondWhenStarted 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 SimulationRunsWithFourTickPerSecondWhenStarted()
Examples

[Test]
public void SimulationRunsWithFourTickPerSecondWhenStarted()
{
    manager.StartOrStopSimulation();
    Assert.IsTrue(manager.IsSimulationRunning);
    manager.Update();
    AdvanceTimeAndUpdateEntities(1);
    Assert.GreaterOrEqual(manager.gameOfLife.Generation, 4);
}
See Also