Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsInputValidatorTest.cs =================================================================== diff -u -r5c7faf8283e49113a2c7b9e17086148a99f13d2e -rd603616dc14b48d1558275495bb59952e22b351f --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsInputValidatorTest.cs (.../MacroStabilityInwardsInputValidatorTest.cs) (revision 5c7faf8283e49113a2c7b9e17086148a99f13d2e) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsInputValidatorTest.cs (.../MacroStabilityInwardsInputValidatorTest.cs) (revision d603616dc14b48d1558275495bb59952e22b351f) @@ -602,6 +602,44 @@ })) }, new MacroStabilityInwardsPreconsolidationStress[0])) .SetName("X further than x of surfaceLine"); + + yield return new TestCaseData( + new MacroStabilityInwardsSoilProfile2D( + "profile", + new[] + { + new MacroStabilityInwardsSoilLayer2D(new Ring(new[] + { + new Point2D(0.2, 0), + new Point2D(0.0, 10), + new Point2D(0.1, 20) + })), + new MacroStabilityInwardsSoilLayer2D(new Ring(new[] + { + new Point2D(0.0, 10.0), + new Point2D(0.1, 20) + })) + }, new MacroStabilityInwardsPreconsolidationStress[0])) + .SetName("SoilLayer X start- and endpoint on right side of surfaceline"); + + yield return new TestCaseData( + new MacroStabilityInwardsSoilProfile2D( + "profile", + new[] + { + new MacroStabilityInwardsSoilLayer2D(new Ring(new[] + { + new Point2D(0.1, 20), + new Point2D(0.2, 10), + new Point2D(0.0, 10) + })), + new MacroStabilityInwardsSoilLayer2D(new Ring(new[] + { + new Point2D(0.0, 10.0), + new Point2D(0.1, 20) + })) + }, new MacroStabilityInwardsPreconsolidationStress[0])) + .SetName("SoilLayer X start- and endpoint on left side of surfaceline"); } private static RoundedDouble GetTestNormativeAssessmentLevel()