public void Defaults() { LineGeometry lg = new LineGeometry(); Assert.AreEqual(new Point(0, 0), lg.StartPoint, "StartPoint"); Assert.AreEqual(new Point(0, 0), lg.EndPoint, "EndPoint"); GeometryTest.CheckDefaults(lg); }
public void Defaults() { RectangleGeometry rg = new RectangleGeometry(); Assert.AreEqual(0.0, rg.RadiusX, "RadiusX"); Assert.AreEqual(0.0, rg.RadiusY, "RadiusY"); Assert.AreEqual(new Rect(0, 0, 0, 0), rg.Rect, "Rect"); GeometryTest.CheckDefaults(rg); }