Line2DTests RenderingHiddenLineDoesNotThrowException 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 RenderingHiddenLineDoesNotThrowException()
Examples

[Test, CloseAfterFirstFrame]
public void RenderingHiddenLineDoesNotThrowException()
{
    new Line2D(Vector2D.Zero, Vector2D.One, Color.White) { IsVisible = false };
    Assert.DoesNotThrow(() => AdvanceTimeAndUpdateEntities());
}
See Also