Line2DTests EvenWithoutPointsRenderingDoesNotCrash Method Delta Engine Documentation

Namespace: DeltaEngine.Rendering2D.Shapes.Tests
Assembly: DeltaEngine.Rendering2D.Shapes.Tests (in DeltaEngine.Rendering2D.Shapes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void EvenWithoutPointsRenderingDoesNotCrash()
Examples

[Test, CloseAfterFirstFrame]
public void EvenWithoutPointsRenderingDoesNotCrash()
{
    var line = new Line2D(Vector2D.Zero, Vector2D.One, Color.White);
    line.Points = new List<Vector2D>();
    AdvanceTimeAndUpdateEntities();
}
See Also