public void Test_Single_Area_Data() { var collector = new CoreDataCollector(); collector.AddData(new CoreDataSet()); collector.AddData(new CoreDataSet()); collector.AddData(new CoreDataSet()); Assert.AreEqual(3, collector.GetDataList().Count); }
public void WriteSingleSubnationalTrendMarker(WorksheetInfo worksheetInfo, Grouping grouping, IndicatorMetadata indicatorMetadata, CoreDataCollector coreDataCollector) { List<CoreDataSet> dataList = coreDataCollector.GetDataList(); var result = _trendMarkersProvider.GetTrendMarkerResult(indicatorMetadata, grouping, dataList); _profileDataWriter.AddTrendMarker(GetLabel(result), RowOffsetForOneArea, worksheetInfo); }