Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Data.TestUtil.Test/GrassCoverErosionOutwardsAssessmentSectionHelperTest.cs =================================================================== diff -u -r3591f8fe0d406ebcf4a263587196da26b5d444a5 -r0eddea1a45f0d9efb0a2a12e90eb99e814d1becb --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Data.TestUtil.Test/GrassCoverErosionOutwardsAssessmentSectionHelperTest.cs (.../GrassCoverErosionOutwardsAssessmentSectionHelperTest.cs) (revision 3591f8fe0d406ebcf4a263587196da26b5d444a5) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Data.TestUtil.Test/GrassCoverErosionOutwardsAssessmentSectionHelperTest.cs (.../GrassCoverErosionOutwardsAssessmentSectionHelperTest.cs) (revision 0eddea1a45f0d9efb0a2a12e90eb99e814d1becb) @@ -22,7 +22,6 @@ using System; using System.Collections.Generic; using System.Linq; -using Core.Common.Base.Data; using NUnit.Framework; using Ringtoets.Common.Data.AssessmentSection; using Ringtoets.Common.Data.FailureMechanism; @@ -37,7 +36,7 @@ public void GetAssessmentLevelConfigurationPerFailureMechanismCategoryType_Always_ReturnsExpectedTestCaseDataCollection() { // Call - TestCaseData[] testCaseDataCollection = GrassCoverErosionOutwardsAssessmentSectionHelper.GetAssessmentLevelConfigurationPerFailureMechanismCategoryType().ToArray(); + TestCaseData[] testCaseDataCollection = GrassCoverErosionOutwardsAssessmentSectionHelper.GetHydraulicBoundaryLocationCalculationConfigurationPerFailureMechanismCategoryType().ToArray(); // Assert AssertTestCaseData(testCaseDataCollection, @@ -74,12 +73,11 @@ var assessmentSection = (IAssessmentSection) testCaseData.Arguments.ElementAt(0); var failureMechanism = (GrassCoverErosionOutwardsFailureMechanism) testCaseData.Arguments.ElementAt(1); var hydraulicBoundaryLocation = (HydraulicBoundaryLocation) testCaseData.Arguments.ElementAt(2); - var assessmentLevel = (RoundedDouble) testCaseData.Arguments.ElementAt(4); + var hydraulicBoundaryLocationCalculation = (HydraulicBoundaryLocationCalculation) testCaseData.Arguments.ElementAt(4); - RoundedDouble expectedAssessmentLevel = getCalculationsFunc(assessmentSection, failureMechanism) - .First(c => ReferenceEquals(c.HydraulicBoundaryLocation, hydraulicBoundaryLocation)) - .Output.Result; - Assert.AreEqual(expectedAssessmentLevel, assessmentLevel); + HydraulicBoundaryLocationCalculation expectedHydraulicBoundaryLocationCalculation = getCalculationsFunc(assessmentSection, failureMechanism) + .First(c => ReferenceEquals(c.HydraulicBoundaryLocation, hydraulicBoundaryLocation)); + Assert.AreEqual(expectedHydraulicBoundaryLocationCalculation, hydraulicBoundaryLocationCalculation); } } } \ No newline at end of file