Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/PropertyClasses/HeightStructuresInputContextPropertiesTest.cs =================================================================== diff -u -r37a53b1ca9a4cdfc6e6df7f065cd540c627f2622 -r26359a31a29af21b6690cacd9b810b1565af9e4b --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/PropertyClasses/HeightStructuresInputContextPropertiesTest.cs (.../HeightStructuresInputContextPropertiesTest.cs) (revision 37a53b1ca9a4cdfc6e6df7f065cd540c627f2622) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/PropertyClasses/HeightStructuresInputContextPropertiesTest.cs (.../HeightStructuresInputContextPropertiesTest.cs) (revision 26359a31a29af21b6690cacd9b810b1565af9e4b) @@ -76,45 +76,45 @@ properties.Data = inputContext; // Assert - var modelFactorOvertoppingSuperCriticalFlowProperties = new NormalDistributionProperties(null) + var modelFactorOvertoppingSuperCriticalFlowProperties = new NormalDistributionProperties { Data = input.ModelFactorOvertoppingSuperCriticalFlow }; AssertDistributionProperties(modelFactorOvertoppingSuperCriticalFlowProperties, properties.ModelFactorOvertoppingSuperCriticalFlow); Assert.AreEqual(input.OrientationOfTheNormalOfTheStructure, properties.OrientationOfTheNormalOfTheStructure); - var levelOfCrestOfStructureProperties = new NormalDistributionProperties(null) + var levelOfCrestOfStructureProperties = new NormalDistributionProperties { Data = input.LevelOfCrestOfStructure }; AssertDistributionProperties(levelOfCrestOfStructureProperties, properties.LevelOfCrestOfStructure); - var allowableIncreaseOfLevelForStorageProperties = new LogNormalDistributionProperties(null) + var allowableIncreaseOfLevelForStorageProperties = new LogNormalDistributionProperties { Data = input.AllowableIncreaseOfLevelForStorage }; AssertDistributionProperties(allowableIncreaseOfLevelForStorageProperties, properties.AllowableIncreaseOfLevelForStorage); - var storageStructureAreaProperties = new LogNormalDistributionProperties(null) + var storageStructureAreaProperties = new LogNormalDistributionProperties { Data = input.StorageStructureArea }; AssertDistributionProperties(storageStructureAreaProperties, properties.StorageStructureArea); - var flowWidthAtBottomProtectionProperties = new LogNormalDistributionProperties(null) + var flowWidthAtBottomProtectionProperties = new LogNormalDistributionProperties { Data = input.FlowWidthAtBottomProtection }; AssertDistributionProperties(flowWidthAtBottomProtectionProperties, properties.FlowWidthAtBottomProtection); - var widthOfFlowAperturesProperties = new NormalDistributionProperties(null) + var widthOfFlowAperturesProperties = new NormalDistributionProperties { Data = input.WidthOfFlowApertures }; AssertDistributionProperties(widthOfFlowAperturesProperties, properties.WidthOfFlowApertures); - var criticalOvertoppingDischargeProperties = new LogNormalDistributionProperties(null) + var criticalOvertoppingDischargeProperties = new LogNormalDistributionProperties { Data = input.CriticalOvertoppingDischarge }; @@ -126,7 +126,7 @@ Assert.AreEqual(input.HydraulicBoundaryLocation, properties.HydraulicBoundaryLocation); - var stormDurationProperties = new LogNormalDistributionProperties(null) + var stormDurationProperties = new LogNormalDistributionProperties { Data = input.StormDuration };