Namespace: GameOfLife.Tests
Assembly: GameOfLife.Tests (in GameOfLife.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: GameOfLife.Tests (in GameOfLife.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, CloseAfterFirstFrame] public void CellHasRightDrawAreaInGrid() { var expectedTopLeft = new Vector2D(.45f, .45f); var expectedSize = new Size(.05f); var expectedDrawArea = new Rectangle(expectedTopLeft, expectedSize); Assert.AreEqual(cell.DrawArea, expectedDrawArea); }
See Also