Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionInwardsCalculationContextTreeNodeInfoTest.cs =================================================================== diff -u -rb7c9234daf5a52422362a7cb3fa1f46a86df63bb -r93ba687d7de78eb3e5835a34843b3057c76336bf --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionInwardsCalculationContextTreeNodeInfoTest.cs (.../GrassCoverErosionInwardsCalculationContextTreeNodeInfoTest.cs) (revision b7c9234daf5a52422362a7cb3fa1f46a86df63bb) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionInwardsCalculationContextTreeNodeInfoTest.cs (.../GrassCoverErosionInwardsCalculationContextTreeNodeInfoTest.cs) (revision 93ba687d7de78eb3e5835a34843b3057c76336bf) @@ -939,11 +939,14 @@ var group = new CalculationGroup(); var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); - failureMechanism.AddSectionResult(new FailureMechanismSection("test", new[] + failureMechanism.AddSections(new[] { - new Point2D(0.0, 0.0), - new Point2D(1.0, 1.0) - })); + new FailureMechanismSection("test", new[] + { + new Point2D(0.0, 0.0), + new Point2D(1.0, 1.0) + }) + }); DikeProfile dikeProfile = DikeProfileTestFactory.CreateDikeProfile(new Point2D(0.5, 0.5)); failureMechanism.DikeProfiles.AddRange(new[] { @@ -1008,10 +1011,13 @@ group.Children.Add(elementToBeRemoved); - failureMechanism.AddSectionResult(new FailureMechanismSection("section", new[] + failureMechanism.AddSections(new[] { - new Point2D(0, 0) - })); + new FailureMechanismSection("section", new[] + { + new Point2D(0, 0) + }) + }); GrassCoverErosionInwardsFailureMechanismSectionResult result = failureMechanism.SectionResults.First(); result.Calculation = elementToBeRemoved;