Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/StructureCalculationEntityReadExtensionsTest.cs =================================================================== diff -u -rfe90a6d174a01975381e6cda55ed1f7f4e831a51 -r1fd2033b78aa540d01635bcf993080e5fe2437bd --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/StructureCalculationEntityReadExtensionsTest.cs (.../StructureCalculationEntityReadExtensionsTest.cs) (revision fe90a6d174a01975381e6cda55ed1f7f4e831a51) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/StructureCalculationEntityReadExtensionsTest.cs (.../StructureCalculationEntityReadExtensionsTest.cs) (revision 1fd2033b78aa540d01635bcf993080e5fe2437bd) @@ -82,18 +82,18 @@ var mocks = new MockRepository(); var entity = mocks.Stub(); - entity.StructureNormalOrientation = random.GetFromRange(0, 360); - entity.ModelFactorSuperCriticalFlowMean = random.GetFromRange(-9999.9999, 9999.9999); - entity.AllowedLevelIncreaseStorageMean = random.GetFromRange(1e-6, 9999.9999); - entity.AllowedLevelIncreaseStorageStandardDeviation = random.GetFromRange(1e-6, 9999.9999); - entity.FlowWidthAtBottomProtectionMean = random.GetFromRange(1e-6, 9999.9999); - entity.FlowWidthAtBottomProtectionStandardDeviation = random.GetFromRange(1e-6, 9999.9999); - entity.CriticalOvertoppingDischargeMean = random.GetFromRange(1e-6, 9999.9999); - entity.CriticalOvertoppingDischargeCoefficientOfVariation = random.GetFromRange(1e-6, 9999.9999); + entity.StructureNormalOrientation = random.NextDouble(0, 360); + entity.ModelFactorSuperCriticalFlowMean = random.NextDouble(-9999.9999, 9999.9999); + entity.AllowedLevelIncreaseStorageMean = random.NextDouble(1e-6, 9999.9999); + entity.AllowedLevelIncreaseStorageStandardDeviation = random.NextDouble(1e-6, 9999.9999); + entity.FlowWidthAtBottomProtectionMean = random.NextDouble(1e-6, 9999.9999); + entity.FlowWidthAtBottomProtectionStandardDeviation = random.NextDouble(1e-6, 9999.9999); + entity.CriticalOvertoppingDischargeMean = random.NextDouble(1e-6, 9999.9999); + entity.CriticalOvertoppingDischargeCoefficientOfVariation = random.NextDouble(1e-6, 9999.9999); entity.FailureProbabilityStructureWithErosion = random.NextDouble(); - entity.WidthFlowAperturesMean = random.GetFromRange(1e-6, 9999.9999); - entity.WidthFlowAperturesStandardDeviation = random.GetFromRange(1e-6, 9999.9999); - entity.StormDurationMean = random.GetFromRange(1e-6, 9999.9999); + entity.WidthFlowAperturesMean = random.NextDouble(1e-6, 9999.9999); + entity.WidthFlowAperturesStandardDeviation = random.NextDouble(1e-6, 9999.9999); + entity.StormDurationMean = random.NextDouble(1e-6, 9999.9999); entity.UseForeshore = Convert.ToByte(random.NextBoolean()); entity.UseBreakWater = Convert.ToByte(random.NextBoolean()); entity.ShouldIllustrationPointsBeCalculated = Convert.ToByte(random.NextBoolean());