protected override void Context() { base.Context(); _paneData1 = Helper.CreateBoxWhiskerPaneData11(sut); _paneData2 = Helper.CreateBoxWhiskerPaneData12(sut); sut.AddPane(_paneData2); sut.AddPane(_paneData1); }
protected override void Context() { base.Context(); _chartData = new ChartData <BoxWhiskerXValue, BoxWhiskerYValue>(null, ChartDataHelperForSpecs.FieldValueComparersR1(), Helper.XValueNames, Helper.XValueComparer()); _paneData1 = Helper.CreateBoxWhiskerPaneData11(_chartData); _paneData2 = Helper.CreateBoxWhiskerPaneData12(_chartData); _chartData.AddPane(_paneData2); _chartData.AddPane(_paneData1); }
public void should_contain_data() { var paneData1 = Helper.CreateBoxWhiskerPaneData11(sut); var paneData2 = Helper.CreateBoxWhiskerPaneData12(sut); sut.AddPane(paneData2); sut.AddPane(paneData1); sut.Panes.Count().ShouldBeEqualTo(2); sut.Panes.FindById("AUC").ShouldBeEqualTo(paneData1); sut.Panes.FindById("Cmax").ShouldBeEqualTo(paneData2); }