コード例 #1
0
 public void GetCurrentDisplayTest()
 {
     TestRuntime.AssertNotVSTS();
     Assert.DoesNotThrow(() => {
         using var displayLink = new CVDisplayLink();
         Assert.AreEqual(CGDisplay.MainDisplayID, displayLink.GetCurrentDisplay());
     });
 }