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

[Test, CloseAfterFirstFrame]
public void CheckForLiveCellOnTheTop()
{
    gameOfLife.ReviveCellAtPosition(2, 1);
    AssertOneNeighborCellIsAliveFromCenterOfGrid();
}
[Test, CloseAfterFirstFrame]
public void CheckForLiveCellOnTheTopRight()
{
    gameOfLife.ReviveCellAtPosition(3, 1);
    AssertOneNeighborCellIsAliveFromCenterOfGrid();
}
[Test, CloseAfterFirstFrame]
public void CheckForLiveCellOnTheTopLeft()
{
    gameOfLife.ReviveCellAtPosition(1, 1);
    AssertOneNeighborCellIsAliveFromCenterOfGrid();
}
See Also