Namespace: DeltaEngine.Graphics.Tests
Assembly: DeltaEngine.Graphics.Tests (in DeltaEngine.Graphics.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Graphics.Tests (in DeltaEngine.Graphics.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
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