Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/TreeNodeInfos/MacroStabilityInwardsCalculationGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -r6bc9f77c55e1fba2e86203b22778f8a405aee2eb -r0d301f769dc84d57979a55d902c498afe5d93e19 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/TreeNodeInfos/MacroStabilityInwardsCalculationGroupContextTreeNodeInfoTest.cs (.../MacroStabilityInwardsCalculationGroupContextTreeNodeInfoTest.cs) (revision 6bc9f77c55e1fba2e86203b22778f8a405aee2eb) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/TreeNodeInfos/MacroStabilityInwardsCalculationGroupContextTreeNodeInfoTest.cs (.../MacroStabilityInwardsCalculationGroupContextTreeNodeInfoTest.cs) (revision 0d301f769dc84d57979a55d902c498afe5d93e19) @@ -20,7 +20,6 @@ // All rights reserved. using System; -using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using Core.Common.Base; @@ -1091,18 +1090,20 @@ surfaceLine1, surfaceLine2 }; - failureMechanism.AddSection(new FailureMechanismSection("Section 1", new List + FailureMechanismTestHelper.SetSections(failureMechanism, new[] { - new Point2D(0.0, 0.0), - new Point2D(5.0, 0.0) - })); + new FailureMechanismSection("Section 1", new[] + { + new Point2D(0.0, 0.0), + new Point2D(5.0, 0.0) + }), + new FailureMechanismSection("Section 2", new[] + { + new Point2D(5.0, 0.0), + new Point2D(10.0, 0.0) + }) + }); - failureMechanism.AddSection(new FailureMechanismSection("Section 2", new List - { - new Point2D(5.0, 0.0), - new Point2D(10.0, 0.0) - })); - var nodeData = new MacroStabilityInwardsCalculationGroupContext(failureMechanism.CalculationsGroup, null, surfaceLines, @@ -1200,18 +1201,20 @@ surfaceLine1, surfaceLine2 }; - failureMechanism.AddSection(new FailureMechanismSection("Section 1", new List + FailureMechanismTestHelper.SetSections(failureMechanism, new[] { - new Point2D(0.0, 0.0), - new Point2D(5.0, 0.0) - })); + new FailureMechanismSection("Section 1", new[] + { + new Point2D(0.0, 0.0), + new Point2D(5.0, 0.0) + }), + new FailureMechanismSection("Section 2", new[] + { + new Point2D(5.0, 0.0), + new Point2D(10.0, 0.0) + }) + }); - failureMechanism.AddSection(new FailureMechanismSection("Section 2", new List - { - new Point2D(5.0, 0.0), - new Point2D(10.0, 0.0) - })); - var nodeData = new MacroStabilityInwardsCalculationGroupContext(group, null, surfaceLines,