Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsCalculationTest.cs =================================================================== diff -u -rf4c94da11ce724aa98a1e7e98301cd577fd86620 -r93c2b9abd9cd5ca08894b32e052dca16ef9e7b9f --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsCalculationTest.cs (.../GrassCoverErosionInwardsCalculationTest.cs) (revision f4c94da11ce724aa98a1e7e98301cd577fd86620) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsCalculationTest.cs (.../GrassCoverErosionInwardsCalculationTest.cs) (revision 93c2b9abd9cd5ca08894b32e052dca16ef9e7b9f) @@ -265,8 +265,8 @@ yield return new TestCaseData(new GrassCoverErosionInwardsCalculation { Output = new GrassCoverErosionInwardsOutput(overtoppingOutputWithGeneralResult, - dikeHeightOutputWithoutGeneralResult, - overtoppingRateOutputWithoutGeneralResult) + null, + null) }, true) .SetName("OvertoppingOutputWithRedundantGeneralResult"); @@ -277,35 +277,44 @@ ShouldOvertoppingOutputIllustrationPointsBeCalculated = true }, Output = new GrassCoverErosionInwardsOutput(overtoppingOutputWithoutGeneralResult, - dikeHeightOutputWithoutGeneralResult, - overtoppingRateOutputWithoutGeneralResult) + null, + null) }, true) .SetName("OvertoppingOutputWithMissingGeneralResult"); yield return new TestCaseData(new GrassCoverErosionInwardsCalculation { + InputParameters = + { + DikeHeightCalculationType = DikeHeightCalculationType.CalculateByAssessmentSectionNorm + }, Output = new GrassCoverErosionInwardsOutput(overtoppingOutputWithoutGeneralResult, dikeHeightOutputWithGeneralResult, - overtoppingRateOutputWithoutGeneralResult) + null) }, true) .SetName("DikeHeightOutputWithRedundantGeneralResult"); yield return new TestCaseData(new GrassCoverErosionInwardsCalculation { InputParameters = { + DikeHeightCalculationType = DikeHeightCalculationType.CalculateByAssessmentSectionNorm, ShouldDikeHeightIllustrationPointsBeCalculated = true }, Output = new GrassCoverErosionInwardsOutput(overtoppingOutputWithoutGeneralResult, dikeHeightOutputWithoutGeneralResult, - overtoppingRateOutputWithoutGeneralResult) + null) }, true) .SetName("DikeHeightOutputWithMissingGeneralResult"); yield return new TestCaseData(new GrassCoverErosionInwardsCalculation { + InputParameters = + { + OvertoppingRateCalculationType = OvertoppingRateCalculationType.CalculateByAssessmentSectionNorm + }, Output = new GrassCoverErosionInwardsOutput(overtoppingOutputWithoutGeneralResult, - dikeHeightOutputWithoutGeneralResult, + null, overtoppingRateOutputWithGeneralResult) }, true) .SetName("OvertoppingRateOutputWithRedundantGeneralResult"); @@ -314,10 +323,11 @@ { InputParameters = { + OvertoppingRateCalculationType = OvertoppingRateCalculationType.CalculateByAssessmentSectionNorm, ShouldOvertoppingRateIllustrationPointsBeCalculated = true }, Output = new GrassCoverErosionInwardsOutput(overtoppingOutputWithoutGeneralResult, - dikeHeightOutputWithoutGeneralResult, + null, overtoppingRateOutputWithoutGeneralResult) }, true) .SetName("OvertoppingRateOutputWithMissingGeneralResult");