Namespace: DeltaEngine.Rendering2D.Shapes.Tests
Assembly: DeltaEngine.Rendering2D.Shapes.Tests (in DeltaEngine.Rendering2D.Shapes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Rendering2D.Shapes.Tests (in DeltaEngine.Rendering2D.Shapes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, CloseAfterFirstFrame] public void RectangleCornersAreCorrect() { var rect = new FilledRect(Rectangle.One, Color.White); var corners = new List<Vector2D> { Vector2D.Zero, Vector2D.UnitY, Vector2D.One, Vector2D.UnitX }; AdvanceTimeAndUpdateEntities(); Assert.AreEqual(corners, rect.Points); }
See Also