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

[Test]
public void LeftClickInsideFirstGridIndexShouldReviveFirstCell()
{
    manager.ReviveCellOnLeftClick(new Vector2D(.273f, .273f));
    Assert.IsTrue(manager.gameOfLife.IsCellAlive(0, 0));
    Assert.AreEqual(1, manager.gameOfLife.Population);
}
See Also