Namespace: LogoApp.Tests
Assembly: LogoApp.Tests (in LogoApp.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: LogoApp.Tests (in LogoApp.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void Drawing100LogosOnlyCauseOneDrawCall() { for (int i = 0; i < 100; i++) new BouncingLogo(); RunAfterFirstFrame(() => { Assert.AreEqual(1, Resolve<Drawing>().NumberOfDynamicDrawCallsThisFrame); Assert.AreEqual(100 * 4, Resolve<Drawing>().NumberOfDynamicVerticesDrawnThisFrame); }); }
See Also