Index: Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectHelper.cs =================================================================== diff -u -r0868d78756c7992a83a096f3d3759046c2dbb217 -rebad637e9483d348a5efe2fe902d56aa91bf6a31 --- Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectHelper.cs (.../RingtoetsProjectHelper.cs) (revision 0868d78756c7992a83a096f3d3759046c2dbb217) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectHelper.cs (.../RingtoetsProjectHelper.cs) (revision ebad637e9483d348a5efe2fe902d56aa91bf6a31) @@ -32,6 +32,7 @@ using Ringtoets.HeightStructures.Data; using Ringtoets.HydraRing.Data; using Ringtoets.Integration.Data; +using Ringtoets.Integration.Data.StandAlone.SectionResults; using Ringtoets.Piping.Data; using Ringtoets.Piping.KernelWrapper.TestUtil; using Ringtoets.Piping.Primitives; @@ -229,6 +230,7 @@ AddSections(assessmentSection.ClosingStructure); AddSections(assessmentSection.StrengthStabilityPointConstruction); AddSections(assessmentSection.StrengthStabilityLengthwiseConstruction); + SetSectionResults(assessmentSection.StrengthStabilityLengthwiseConstruction.SectionResults); AddSections(assessmentSection.PipingStructure); AddSections(assessmentSection.DuneErosion); AddSections(assessmentSection.TechnicalInnovation); @@ -266,6 +268,15 @@ } } + 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) {