Exemplo n.º 1
0
        public void GetPointsListFromSeriesNodeTest()
        {
            XmlNodeList series = ChartToCSVExporter.GetSeriesListFromChartXML(ChartToCSVExporter.ConvertChartToXML(chart));

            var points = ChartToCSVExporter.GetPointsListFromSeriesNode(series.Item(0));

            Assert.IsTrue(points.Count == 6);
        }
Exemplo n.º 2
0
        public void CreateByteArrayListBySeriesTest()
        {
            XmlNodeList series = ChartToCSVExporter.GetSeriesListFromChartXML(ChartToCSVExporter.ConvertChartToXML(chart));



            var arrayList = ChartToCSVExporter.GetByteArrayListBySeries(series);

            Assert.IsTrue(arrayList.Count == 2);
        }
Exemplo n.º 3
0
        public void GetSeriesListFromChartXMLTest()
        {
            var series = ChartToCSVExporter.GetSeriesListFromChartXML(ChartToCSVExporter.ConvertChartToXML(chart));

            Assert.IsTrue(series.Count == 2);
        }