Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/PropertyClasses/HeightStructuresInputContextPropertiesTest.cs =================================================================== diff -u -r7f4ee0fa245a18426c81c11c8f9ea18e73e42d07 -re1157c221217ef3b5ade6034183a7da0e620eb05 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/PropertyClasses/HeightStructuresInputContextPropertiesTest.cs (.../HeightStructuresInputContextPropertiesTest.cs) (revision 7f4ee0fa245a18426c81c11c8f9ea18e73e42d07) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/PropertyClasses/HeightStructuresInputContextPropertiesTest.cs (.../HeightStructuresInputContextPropertiesTest.cs) (revision e1157c221217ef3b5ade6034183a7da0e620eb05) @@ -96,7 +96,7 @@ }; AssertDistributionProperties(allowableIncreaseOfLevelForStorageProperties, properties.AllowableIncreaseOfLevelForStorage); - var storageStructureAreaProperties = new LogNormalDistributionProperties + var storageStructureAreaProperties = new LogNormalDistributionVariationProperties { Data = input.StorageStructureArea }; @@ -108,13 +108,13 @@ }; AssertDistributionProperties(flowWidthAtBottomProtectionProperties, properties.FlowWidthAtBottomProtection); - var widthOfFlowAperturesProperties = new NormalDistributionProperties + var widthOfFlowAperturesProperties = new NormalDistributionVariationProperties { Data = input.WidthOfFlowApertures }; AssertDistributionProperties(widthOfFlowAperturesProperties, properties.WidthOfFlowApertures); - var criticalOvertoppingDischargeProperties = new LogNormalDistributionProperties + var criticalOvertoppingDischargeProperties = new LogNormalDistributionVariationProperties { Data = input.CriticalOvertoppingDischarge }; @@ -126,7 +126,7 @@ Assert.AreEqual(input.HydraulicBoundaryLocation, properties.HydraulicBoundaryLocation); - var stormDurationProperties = new LogNormalDistributionProperties + var stormDurationProperties = new LogNormalDistributionVariationProperties { Data = input.StormDuration }; @@ -271,6 +271,11 @@ Assert.AreEqual(expected.Data, actual.Data); } + private static void AssertDistributionProperties(LogNormalDistributionVariationProperties expected, LogNormalDistributionVariationProperties actual) + { + Assert.AreEqual(expected.Data, actual.Data); + } + private const int orientationOfTheNormalOfTheStructurePropertyIndex = 0; private const int levelOfCrestOfStructurePropertyIndex = 1; private const int allowableIncreaseOfLevelForStoragePropertyIndex = 2;