Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 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);
 }