Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.TestUtil/MacroStabilityInwardsOutputViewChartDataAssert.cs
===================================================================
diff -u -r187efa574b622ec8fd7d3f82f367974e17dbf138 -r6cd72dbeda0504db7018b8ee083e120a8fce034f
--- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.TestUtil/MacroStabilityInwardsOutputViewChartDataAssert.cs (.../MacroStabilityInwardsOutputViewChartDataAssert.cs) (revision 187efa574b622ec8fd7d3f82f367974e17dbf138)
+++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.TestUtil/MacroStabilityInwardsOutputViewChartDataAssert.cs (.../MacroStabilityInwardsOutputViewChartDataAssert.cs) (revision 6cd72dbeda0504db7018b8ee083e120a8fce034f)
@@ -112,13 +112,22 @@
///
public static void AssertEmptyChartDataWithEmptySoilLayerAndEmptyWaternetChartData(ChartDataCollection chartDataCollection)
{
+ AssertEmptyWaternetChartData(chartDataCollection);
+ AssertEmptyChartDataWithEmptySoilLayerChartData(chartDataCollection);
+ }
+
+ ///
+ /// Asserts whether contains no waternet chart data.
+ ///
+ /// The actual .
+ /// Thrown when a waternet layer is present.
+ public static void AssertEmptyWaternetChartData(ChartDataCollection chartDataCollection)
+ {
var waternetExtremeData = (ChartDataCollection) chartDataCollection.Collection.ElementAt(waternetZonesExtremeIndex);
var waternetDailyData = (ChartDataCollection) chartDataCollection.Collection.ElementAt(waternetZonesDailyIndex);
CollectionAssert.IsEmpty(waternetExtremeData.Collection);
CollectionAssert.IsEmpty(waternetDailyData.Collection);
-
- AssertEmptyChartDataWithEmptySoilLayerChartData(chartDataCollection);
}
///