Index: Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectTestHelper.cs =================================================================== diff -u -r811967790aed0c6617f36c2135016a5bc4aa8fcc -r6bd97cb84b2c0b7c06298d9d42171ed0678e872c --- Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectTestHelper.cs (.../RingtoetsProjectTestHelper.cs) (revision 811967790aed0c6617f36c2135016a5bc4aa8fcc) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectTestHelper.cs (.../RingtoetsProjectTestHelper.cs) (revision 6bd97cb84b2c0b7c06298d9d42171ed0678e872c) @@ -181,16 +181,6 @@ } } - private static void SetSectionResults(IEnumerable sectionResults) - { - var random = new Random(21); - foreach (var sectionResult in sectionResults) - { - sectionResult.AssessmentLayerOne = random.NextBoolean(); - sectionResult.AssessmentLayerThree = (RoundedDouble) random.NextDouble(); - } - } - private static void SetSectionResults(IEnumerable sectionResults) { var random = new Random(21); @@ -358,6 +348,17 @@ return hydraulicBoundaryDatabase; } + #region StabilityPointStructures FailureMechanism + + private static void ConfigureStabilityPointStructuresFailureMechanism(StabilityPointStructuresFailureMechanism failureMechanism) + { + failureMechanism.GeneralInput.N = 8; + failureMechanism.StabilityPointStructures.Add(new TestStabilityPointStructure()); + failureMechanism.StabilityPointStructures.Add(new TestStabilityPointStructure()); + } + + #endregion + #region ClosingStructures FailureMechanism private static void ConfigureClosingStructuresFailureMechanism(ClosingStructuresFailureMechanism failureMechanism, @@ -453,7 +454,8 @@ ProbabilityOpenStructureBeforeFlooding = (RoundedDouble) 0.98, ForeshoreProfile = foreshoreProfile, HydraulicBoundaryLocation = hydroLocation - } + }, + Output = new ProbabilityAssessmentOutput(0.8, 0.95, 0.10, 0.11, 0.12) } } }); @@ -464,15 +466,14 @@ failureMechanism.CalculationsGroup.Children.Add(new StructuresCalculation()); } - #endregion - - #region StabilityPointStructures FailureMechanism - - private static void ConfigureStabilityPointStructuresFailureMechanism(StabilityPointStructuresFailureMechanism failureMechanism) + private static void SetSectionResults(IEnumerable sectionResults) { - failureMechanism.GeneralInput.N = 8; - failureMechanism.StabilityPointStructures.Add(new TestStabilityPointStructure()); - failureMechanism.StabilityPointStructures.Add(new TestStabilityPointStructure()); + var random = new Random(21); + foreach (var sectionResult in sectionResults) + { + sectionResult.AssessmentLayerOne = random.NextBoolean(); + sectionResult.AssessmentLayerThree = (RoundedDouble) random.NextDouble(); + } } #endregion