Beispiel #1
0
        public void AddSimpleISeries()
        {
            Chart         chart         = new Chart();
            SimpleISeries simpleISeries = new SimpleISeries();

            TestAsync(
                chart,
                () => chart.Series.Add(simpleISeries),
                () => Assert.IsNotNull(simpleISeries.SeriesHost),
                () => chart.Series.Remove(simpleISeries),
                () => Assert.IsNull(simpleISeries.SeriesHost));
        }
 public void AddSimpleISeries()
 {
     Chart chart = new Chart();
     SimpleISeries simpleISeries = new SimpleISeries();
     TestAsync(
         chart,
         () => chart.Series.Add(simpleISeries),
         () => Assert.IsNotNull(simpleISeries.SeriesHost),
         () => chart.Series.Remove(simpleISeries),
         () => Assert.IsNull(simpleISeries.SeriesHost));
 }