public void AddChart(string name, double start, double step, int stepCount, string argument, string[] values, IComponentCollection collection) { SeriesWrapper.LocalChart lc = new SeriesWrapper.LocalChart(name, start, step, stepCount, argument, values); lc.Create(collection); testList.Add(lc); }
protected virtual bool Process(int i, ITest test, Dictionary <string, object[]> d) { if (test is SeriesWrapper.LocalChart) { SeriesWrapper.LocalChart lc = test as SeriesWrapper.LocalChart; d[lc.Name] = new object[] { i }; return(true); } if (test is Regression.RegressionTest) { Regression.RegressionTest rt = test as Regression.RegressionTest; d[rt.Name] = new object[] { i, rt.Number }; return(true); } return(false); }