Index: Ringtoets/Common/test/Ringtoets.Common.Forms.TestUtil/MapDataTestHelper.cs
===================================================================
diff -u -r64426c8cf80aaac466ddd1112888f4d6a4b7e4ef -r048b1d235b217310417c6b9367deffe030d30572
--- Ringtoets/Common/test/Ringtoets.Common.Forms.TestUtil/MapDataTestHelper.cs (.../MapDataTestHelper.cs) (revision 64426c8cf80aaac466ddd1112888f4d6a4b7e4ef)
+++ Ringtoets/Common/test/Ringtoets.Common.Forms.TestUtil/MapDataTestHelper.cs (.../MapDataTestHelper.cs) (revision 048b1d235b217310417c6b9367deffe030d30572)
@@ -99,62 +99,6 @@
}
///
- /// Asserts whether the contains the data that is representative for the output of
- /// .
- ///
- /// The hydraulic boundary locations that contain the original data.
- /// The that needs to be asserted.
- /// Thrown when:
- ///
- /// - is not ;
- /// - the number of hydraulic boundary locations and features in are not the same;
- /// - the wave height or the design water level calculation results of a hydraulic boundary location and the
- /// respective outputs of a corresponding feature are not the same.
- ///
- ///
- public static void AssertHydraulicBoundaryLocationOutputsMapData(IEnumerable hydraulicBoundaryLocations, MapData mapData)
- {
- Assert.IsInstanceOf(mapData);
- var hydraulicLocationsMapData = (MapPointData) mapData;
-
- HydraulicBoundaryLocation[] hydraulicBoundaryLocationsArray = hydraulicBoundaryLocations.ToArray();
- int expectedNrOfFeatures = hydraulicBoundaryLocationsArray.Length;
- Assert.AreEqual(expectedNrOfFeatures, hydraulicLocationsMapData.Features.Count());
-
- for (var i = 0; i < expectedNrOfFeatures; i++)
- {
- HydraulicBoundaryLocation hydraulicBoundaryLocation = hydraulicBoundaryLocationsArray[i];
- MapFeature mapFeature = hydraulicLocationsMapData.Features.ElementAt(i);
-
- MapFeaturesTestHelper.AssertHydraulicBoundaryLocationOutputMetaData(hydraulicBoundaryLocation.DesignWaterLevelCalculation1,
- mapFeature,
- "h(A+->A)");
- MapFeaturesTestHelper.AssertHydraulicBoundaryLocationOutputMetaData(hydraulicBoundaryLocation.DesignWaterLevelCalculation2,
- mapFeature,
- "h(A->B)");
- MapFeaturesTestHelper.AssertHydraulicBoundaryLocationOutputMetaData(hydraulicBoundaryLocation.DesignWaterLevelCalculation3,
- mapFeature,
- "h(B->C)");
- MapFeaturesTestHelper.AssertHydraulicBoundaryLocationOutputMetaData(hydraulicBoundaryLocation.DesignWaterLevelCalculation4,
- mapFeature,
- "h(C->D)");
-
- MapFeaturesTestHelper.AssertHydraulicBoundaryLocationOutputMetaData(hydraulicBoundaryLocation.WaveHeightCalculation1,
- mapFeature,
- "Hs(A+->A)");
- MapFeaturesTestHelper.AssertHydraulicBoundaryLocationOutputMetaData(hydraulicBoundaryLocation.WaveHeightCalculation2,
- mapFeature,
- "Hs(A->B)");
- MapFeaturesTestHelper.AssertHydraulicBoundaryLocationOutputMetaData(hydraulicBoundaryLocation.WaveHeightCalculation3,
- mapFeature,
- "Hs(B->C)");
- MapFeaturesTestHelper.AssertHydraulicBoundaryLocationOutputMetaData(hydraulicBoundaryLocation.WaveHeightCalculation4,
- mapFeature,
- "Hs(C->D)");
- }
- }
-
- ///
/// Asserts whether the contains the data that is representative for the data of
/// hydraulic boundary locations and calculations in .
///