Index: Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectHelper.cs =================================================================== diff -u -rebad637e9483d348a5efe2fe902d56aa91bf6a31 -r2fe46c62134fde70ada240fa952971444177be90 --- Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectHelper.cs (.../RingtoetsProjectHelper.cs) (revision ebad637e9483d348a5efe2fe902d56aa91bf6a31) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectHelper.cs (.../RingtoetsProjectHelper.cs) (revision 2fe46c62134fde70ada240fa952971444177be90) @@ -222,6 +222,7 @@ AddSections(assessmentSection.StabilityStoneCover); AddSections(assessmentSection.WaveImpactAsphaltCover); AddSections(assessmentSection.WaterPressureAsphaltCover); + SetSectionResults(assessmentSection.WaterPressureAsphaltCover.SectionResults); AddSections(assessmentSection.GrassCoverErosionOutwards); AddSections(assessmentSection.GrassCoverSlipOffOutwards); AddSections(assessmentSection.GrassCoverSlipOffInwards); @@ -234,6 +235,7 @@ AddSections(assessmentSection.PipingStructure); AddSections(assessmentSection.DuneErosion); AddSections(assessmentSection.TechnicalInnovation); + SetSectionResults(assessmentSection.TechnicalInnovation.SectionResults); return fullTestProject; } @@ -278,6 +280,26 @@ } } + 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 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[]