Namespace: DeltaEngine.Rendering2D
Assembly: DeltaEngine.Rendering2D (in DeltaEngine.Rendering2D.dll) Version: 1.1.1.0 (1.1.1)
Tests: GameOfLife.Tests.GameOfLifeTests
2 unit tests call DeltaEngine.Rendering2D.Entity2D.TopLeft
Assembly: DeltaEngine.Rendering2D (in DeltaEngine.Rendering2D.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: Vector2DRemarks
Examples
[Test, CloseAfterFirstFrame] public void CheckForLiveCellOnTheTopLeft() { gameOfLife.ReviveCellAtPosition(1, 1); AssertOneNeighborCellIsAliveFromCenterOfGrid(); }
[Test, CloseAfterFirstFrame] public void BoundCheckOnTheTopLeftBorderOfTheGrid() { AssertNoNeighborCellIsAliveOutsideTheGridBorder(0, 0); }
See Also