public virtual void SetAndGetLeaderLineLengthTest() { PdfLineAnnotation pdfLineAnnotation = new PdfLineAnnotation(new PdfDictionary()); float length = 1f; pdfLineAnnotation.SetLeaderLineLength(length); NUnit.Framework.Assert.AreEqual(length, pdfLineAnnotation.GetLeaderLineLength(), FLOAT_EPSILON_COMPARISON); }
public virtual void GetLeaderLineLengthNullTest() { PdfLineAnnotation pdfLineAnnotation = new PdfLineAnnotation(new PdfDictionary()); NUnit.Framework.Assert.AreEqual(0, pdfLineAnnotation.GetLeaderLineLength(), FLOAT_EPSILON_COMPARISON); }