Index: Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectTestHelper.cs =================================================================== diff -u -r25f59fa52f81f0e5d8e1935f00abd21f2207bb7d -r341edbfd5905c218dcbaacdc77b68ca67e5424cf --- Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectTestHelper.cs (.../RingtoetsProjectTestHelper.cs) (revision 25f59fa52f81f0e5d8e1935f00abd21f2207bb7d) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectTestHelper.cs (.../RingtoetsProjectTestHelper.cs) (revision 341edbfd5905c218dcbaacdc77b68ca67e5424cf) @@ -204,11 +204,9 @@ private static void SetSectionResults(IEnumerable sectionResults) { - var random = new Random(21); foreach (TechnicalInnovationFailureMechanismSectionResult sectionResult in sectionResults) { sectionResult.AssessmentLayerOne = GetAssessmentLayerOneState(); - sectionResult.AssessmentLayerThree = (RoundedDouble) random.NextDouble(); } } @@ -226,8 +224,8 @@ foreach (MacroStabilityOutwardsFailureMechanismSectionResult sectionResult in sectionResults) { sectionResult.AssessmentLayerOne = GetAssessmentLayerOneState(); - sectionResult.DetailedAssessmentProbability = (RoundedDouble) random.NextDouble(); - sectionResult.TailorMadeAssessmentProbability = (RoundedDouble) random.NextDouble(); + sectionResult.DetailedAssessmentProbability = random.NextDouble(); + sectionResult.TailorMadeAssessmentProbability = random.NextDouble(); } } @@ -527,27 +525,27 @@ BreakWater = { Type = BreakWaterType.Dam, - Height = (RoundedDouble) random.NextDouble() + Height = random.NextRoundedDouble() }, DrainCoefficient = { - Mean = (RoundedDouble) random.NextDouble() + Mean = random.NextRoundedDouble() }, - FactorStormDurationOpenStructure = (RoundedDouble) random.NextDouble(), + FactorStormDurationOpenStructure = random.NextRoundedDouble(), FailureProbabilityStructureWithErosion = random.NextDouble(), ForeshoreProfile = foreshoreProfile, HydraulicBoundaryLocation = hydroLocation, LoadSchematizationType = LoadSchematizationType.Quadratic, ModelFactorSuperCriticalFlow = { - Mean = (RoundedDouble) random.NextDouble() + Mean = random.NextRoundedDouble() }, - VolumicWeightWater = (RoundedDouble) random.NextDouble(), + VolumicWeightWater = random.NextRoundedDouble(), UseForeshore = random.NextBoolean(), UseBreakWater = random.NextBoolean(), StormDuration = { - Mean = (RoundedDouble) random.NextDouble() + Mean = random.NextRoundedDouble() }, Structure = stabilityPointStructure, ShouldIllustrationPointsBeCalculated = false @@ -566,27 +564,27 @@ BreakWater = { Type = BreakWaterType.Dam, - Height = (RoundedDouble) random.NextDouble() + Height = random.NextRoundedDouble() }, DrainCoefficient = { - Mean = (RoundedDouble) random.NextDouble() + Mean = random.NextRoundedDouble() }, - FactorStormDurationOpenStructure = (RoundedDouble) random.NextDouble(), + FactorStormDurationOpenStructure = random.NextRoundedDouble(), FailureProbabilityStructureWithErosion = random.NextDouble(), ForeshoreProfile = foreshoreProfile, HydraulicBoundaryLocation = hydroLocation, LoadSchematizationType = LoadSchematizationType.Quadratic, ModelFactorSuperCriticalFlow = { - Mean = (RoundedDouble) random.NextDouble() + Mean = random.NextRoundedDouble() }, - VolumicWeightWater = (RoundedDouble) random.NextDouble(), + VolumicWeightWater = random.NextRoundedDouble(), UseForeshore = random.NextBoolean(), UseBreakWater = random.NextBoolean(), StormDuration = { - Mean = (RoundedDouble) random.NextDouble() + Mean = random.NextRoundedDouble() }, Structure = stabilityPointStructure, ShouldIllustrationPointsBeCalculated = true