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