Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsCalculationServiceTest.cs =================================================================== diff -u -r509e11006e2a4dd1db6f9dd03271b1a5c8dd7790 -r24ef82baac0966895b34ff927c61e560509806a6 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsCalculationServiceTest.cs (.../MacroStabilityInwardsCalculationServiceTest.cs) (revision 509e11006e2a4dd1db6f9dd03271b1a5c8dd7790) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsCalculationServiceTest.cs (.../MacroStabilityInwardsCalculationServiceTest.cs) (revision 24ef82baac0966895b34ff927c61e560509806a6) @@ -881,6 +881,22 @@ }), new Ring[0]) }, new MacroStabilityInwardsPreconsolidationStress[0])) .SetName("X further than x of surfaceLine, Y not within limit"); + + yield return new TestCaseData( + new MacroStabilityInwardsSoilProfile2D( + "profile", + new[] + { + new MacroStabilityInwardsSoilLayer2D(new Ring(new[] + { + new Point2D(0, 10), + new Point2D(1, 21), + new Point2D(1, 19), + new Point2D(2, 10), + new Point2D(0, 10) + }), new Ring[0]) + }, new MacroStabilityInwardsPreconsolidationStress[0])) + .SetName("Second segment is vertical and exceeds surfaceLine"); } private static IEnumerable SurfaceLineOnMacroStabilityInwardsSoilProfile2D()