Index: Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Forms.Test/Views/WaveImpactAsphaltCoverFailureMechanismViewTest.cs =================================================================== diff -u -ra2eb198a93d224a701f3fa4d6a68023e22ebcd79 -r3f1ac36864e2e1cbb1d41869e928eed116f0a310 --- Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Forms.Test/Views/WaveImpactAsphaltCoverFailureMechanismViewTest.cs (.../WaveImpactAsphaltCoverFailureMechanismViewTest.cs) (revision a2eb198a93d224a701f3fa4d6a68023e22ebcd79) +++ Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Forms.Test/Views/WaveImpactAsphaltCoverFailureMechanismViewTest.cs (.../WaveImpactAsphaltCoverFailureMechanismViewTest.cs) (revision 3f1ac36864e2e1cbb1d41869e928eed116f0a310) @@ -241,22 +241,7 @@ MapDataTestHelper.AssertFailureMechanismSectionsStartPointMapData(failureMechanism.Sections, mapDataList[sectionsStartPointIndex]); MapDataTestHelper.AssertFailureMechanismSectionsEndPointMapData(failureMechanism.Sections, mapDataList[sectionsEndPointIndex]); MapDataTestHelper.AssertHydraulicBoundaryLocationsMapData(hydraulicBoundaryDatabase.Locations, mapDataList[hydraulicBoundaryLocationsIndex]); - - var expectedGeometry = new[] - { - new[] - { - new Point2D(0, 0), - new Point2D(0, -1) - }, - new[] - { - new Point2D(0, -2), - new Point2D(0, -3) - } - }; - - MapDataTestHelper.AssertForeshoreProfiles(failureMechanism.ForeshoreProfiles, expectedGeometry, mapDataList[foreshoreProfilesIndex]); + MapDataTestHelper.AssertForeshoreProfiles(failureMechanism.ForeshoreProfiles, mapDataList[foreshoreProfilesIndex]); AssertCalculationsMapData(failureMechanism.Calculations.Cast(), mapDataList[calculationsIndex]); } @@ -445,14 +430,7 @@ var foreshoreProfileData = map.Data.Collection.ElementAt(foreshoreProfilesIndex); // Precondition - MapDataTestHelper.AssertForeshoreProfiles(failureMechanism.ForeshoreProfiles, new[] - { - new[] - { - new Point2D(0, 0), - new Point2D(0, -1) - } - }, foreshoreProfileData); + MapDataTestHelper.AssertForeshoreProfiles(failureMechanism.ForeshoreProfiles, foreshoreProfileData); // Call failureMechanism.ForeshoreProfiles.Add(new TestForeshoreProfile(new[] @@ -463,21 +441,7 @@ failureMechanism.ForeshoreProfiles.NotifyObservers(); // Assert - var expectedGeometry = new[] - { - new[] - { - new Point2D(0, 0), - new Point2D(0, -1) - }, - new[] - { - new Point2D(0, -2), - new Point2D(0, -3) - } - }; - - MapDataTestHelper.AssertForeshoreProfiles(failureMechanism.ForeshoreProfiles, expectedGeometry, foreshoreProfileData); + MapDataTestHelper.AssertForeshoreProfiles(failureMechanism.ForeshoreProfiles, foreshoreProfileData); } }