public void ParseEmpty_Test() { PDFGraphicsPath target = PDFGraphicsPath.Parse(""); Assert.IsNotNull(target); Assert.IsTrue(target.CurrentPath != null); Assert.IsTrue(target.HasCurrentPath); Assert.IsNotNull(target.Paths); Assert.IsTrue(target.Paths.Count == 1); }
public void ParseClose_Test() { PDFGraphicsPath target = PDFGraphicsPath.Parse("Z"); Assert.IsNotNull(target); Assert.IsTrue(target.CurrentPath != null); Assert.IsTrue(target.HasCurrentPath); Assert.IsNotNull(target.Paths); Assert.IsTrue(target.Paths.Count == 1); Assert.IsTrue(target.Paths[0].Operations.Count == 1); Assert.IsInstanceOfType(target.Paths[0].Operations[0], typeof(PathCloseData)); }