ImageTests DrawDefaultTexture Method Delta Engine Documentation

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

public void DrawDefaultTexture()
Examples

[Test, ApproveFirstFrameScreenshot]
public void DrawDefaultTexture()
{
    Resolve<Window>().BackgroundColor = Color.CornflowerBlue;
    new ColoredSprite(ContentLoader.Load<Image>("UnavailableImage"));
    RunAfterFirstFrame(
        () => Assert.AreEqual(4, Resolve<Drawing>().NumberOfDynamicVerticesDrawnThisFrame));
}
See Also