FilledRectTests DefaultRectIsRectangleZeroAndWhite 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 DefaultRectIsRectangleZeroAndWhite()
Examples

[Test, CloseAfterFirstFrame]
public void DefaultRectIsRectangleZeroAndWhite()
{
    var rect = new FilledRect(Rectangle.One, Color.White);
    Assert.AreEqual(Rectangle.One, rect.DrawArea);
    Assert.AreEqual(Color.White, rect.Color);
}
See Also