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)); }
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); }