//ncrunch: no coverage start protected ApproveFirstFrameScreenshot() { if (!StackTraceExtensions.IsStartedFromNCrunch() && StackTraceExtensions.IsUnitTest() && ExcludeSharpDXAsScreenshotsCanOnlyBeMadeDelayed()) { CheckApprovalImageAfterFirstFrame(); } }
public void IsUnitTest() { Assert.IsTrue(StackTraceExtensions.IsUnitTest()); }