public void GetCurrentDisplayTest() { TestRuntime.AssertNotVSTS(); Assert.DoesNotThrow(() => { using var displayLink = new CVDisplayLink(); Assert.AreEqual(CGDisplay.MainDisplayID, displayLink.GetCurrentDisplay()); }); }