public void CheckReportCreation(string text, string link, string expected) { Hyperlink testObject = new Hyperlink(text, link); string actual = testObject.Create(); Assert.Equal(expected, actual); }
protected override void SolveInstance(IGH_DataAccess DA) { string text = string.Empty; string link = string.Empty; DA.GetData(0, ref text); DA.GetData(1, ref link); string reportPart; Hyperlink reportObject = new Hyperlink(text, link); reportPart = reportObject.Create(); DA.SetData(0, reportPart); }