예제 #1
0
        public void CheckReportCreation(string text, string expected)
        {
            Underline testObject = new Underline(text);
            string    actual     = testObject.Create();

            Assert.Equal(expected, actual);
        }
예제 #2
0
        protected override void SolveInstance(IGH_DataAccess DA)
        {
            string text = string.Empty;

            DA.GetData(0, ref text);

            string    reportPart;
            Underline reportObject = new Underline(text);

            reportPart = reportObject.Create();

            DA.SetData(0, reportPart);
        }
 private static Underline setUnderline(XMLUnderline u)
 {
     return(Underline.Create(_currentDoc, AnnotationsMannager.ConvertRect(u.RectArea())));
 }