예제 #1
0
 public void ConvertToWindowsPointTest()
 {
     var point = new Point(10, 10);
     System.Windows.Point winPoint = point.ConvertToWindowsPoint();
     Assert.That(winPoint.X, Is.EqualTo(10));
     Assert.That(winPoint.Y, Is.EqualTo(10));
 }
예제 #2
0
 public void ConvertToWindowsPoint()
 {
     var point = new Point(10, 10);
     System.Windows.Point winPoint = point.ConvertToWindowsPoint();
     Assert.AreEqual(10, winPoint.X);
     Assert.AreEqual(10, winPoint.Y);
 }