public void CheckReportCreation(List <string> text, List <bool> done, string expected) { TaskList testObject = new TaskList(text, done); string actual = testObject.Create(); Assert.Equal(expected, actual); }
protected override void SolveInstance(IGH_DataAccess DA) { List <string> text = new List <string>(); List <bool> done = new List <bool>(); DA.GetDataList(0, text); DA.GetDataList(1, done); string report; TaskList taskObject = new TaskList(text, done); report = taskObject.Create(); DA.SetData(0, report); }