Index: Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectHelper.cs =================================================================== diff -u -rc5499aa0c2af6b5b54c329cbed1a39706bf49cd3 -r0868d78756c7992a83a096f3d3759046c2dbb217 --- Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectHelper.cs (.../RingtoetsProjectHelper.cs) (revision c5499aa0c2af6b5b54c329cbed1a39706bf49cd3) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectHelper.cs (.../RingtoetsProjectHelper.cs) (revision 0868d78756c7992a83a096f3d3759046c2dbb217) @@ -29,6 +29,7 @@ using Ringtoets.Common.Data.Calculation; using Ringtoets.Common.Data.FailureMechanism; using Ringtoets.GrassCoverErosionInwards.Data; +using Ringtoets.HeightStructures.Data; using Ringtoets.HydraRing.Data; using Ringtoets.Integration.Data; using Ringtoets.Piping.Data; @@ -224,6 +225,7 @@ AddSections(assessmentSection.GrassCoverSlipOffOutwards); AddSections(assessmentSection.GrassCoverSlipOffInwards); AddSections(assessmentSection.HeightStructures); + SetSectionResults(assessmentSection.HeightStructures.SectionResults); AddSections(assessmentSection.ClosingStructure); AddSections(assessmentSection.StrengthStabilityPointConstruction); AddSections(assessmentSection.StrengthStabilityLengthwiseConstruction); @@ -254,6 +256,17 @@ } } + private static void SetSectionResults(IEnumerable sectionResults) + { + var random = new Random(21); + foreach (var sectionResult in sectionResults) + { + sectionResult.AssessmentLayerOne = Convert.ToBoolean(random.Next(0, 2)); + sectionResult.AssessmentLayerThree = (RoundedDouble)random.NextDouble(); + } + } + + private static void AddSections(IFailureMechanism failureMechanism) { failureMechanism.AddSection(new FailureMechanismSection("section 1", new[]