public void TestConstructor_LineElement() { IRenderingElement element = new WedgeLineElement(new LineElement(new Point(0, 0), new Point(1, 1), 1.0, System.Windows.Media.Colors.Red), WedgeLineElement.WedgeType.Dashed, WedgeLineElement.BondDirection.ToFirst, System.Windows.Media.Colors.Orange); Assert.IsNotNull(element); }
static WedgeLineElementTest() { IRenderingElement element = new WedgeLineElement(new Point(0, 0), new Point(1, 1), 1.0, WedgeLineElement.WedgeType.Dashed, WedgeLineElement.BondDirection.ToFirst, System.Windows.Media.Colors.Orange); SetRenderingElement(element); }