public void CheckReportCreation(bool direction, List <FlowchartNode> lastNodes, string expected) { Flowchart testObject = new Flowchart(direction, lastNodes); string actual = testObject.Create(); Assert.Equal(expected, actual); }
protected override void SolveInstance(IGH_DataAccess DA) { bool direction = true; List <FlowchartNode> lastNodes = new List <FlowchartNode>(); DA.GetData(0, ref direction); DA.GetDataList(1, lastNodes); Flowchart flowchart = new Flowchart(direction, lastNodes); string reportPart = flowchart.Create(); DA.SetData(0, reportPart); }