Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/Converters/UpliftVanSlipPlaneConverterTest.cs =================================================================== diff -u -r566943640717a91ff377a58a341bbbe1bcd2e516 -rdf525a103468d73d229ee5301e20483f1e334b24 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/Converters/UpliftVanSlipPlaneConverterTest.cs (.../UpliftVanSlipPlaneConverterTest.cs) (revision 566943640717a91ff377a58a341bbbe1bcd2e516) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/Converters/UpliftVanSlipPlaneConverterTest.cs (.../UpliftVanSlipPlaneConverterTest.cs) (revision df525a103468d73d229ee5301e20483f1e334b24) @@ -53,7 +53,8 @@ GridDeterminationType = MacroStabilityInwardsGridDeterminationType.Automatic, TangentLineDeterminationType = MacroStabilityInwardsTangentLineDeterminationType.Specified, TangentLineZTop = (RoundedDouble) 1, - TangentLineZBottom = (RoundedDouble) 0 + TangentLineZBottom = (RoundedDouble) 0, + TangentLineNumber = 10 }; // Precondition @@ -101,7 +102,8 @@ }, TangentLineDeterminationType = MacroStabilityInwardsTangentLineDeterminationType.LayerSeparated, TangentLineZTop = (RoundedDouble) 1, - TangentLineZBottom = (RoundedDouble) 0 + TangentLineZBottom = (RoundedDouble) 0, + TangentLineNumber = 10 }; // Call @@ -145,7 +147,8 @@ }, TangentLineDeterminationType = MacroStabilityInwardsTangentLineDeterminationType.Specified, TangentLineZTop = random.NextRoundedDouble(), - TangentLineZBottom = random.NextRoundedDouble() + TangentLineZBottom = random.NextRoundedDouble(), + TangentLineNumber = random.Next() }; // Call @@ -158,7 +161,7 @@ Assert.IsFalse(slipPlane.TangentLinesAutomaticAtBoundaries); Assert.AreEqual(input.TangentLineZTop, slipPlane.TangentZTop); Assert.AreEqual(input.TangentLineZBottom, slipPlane.TangentZBottom); - Assert.AreEqual(1, slipPlane.TangentLineNumber); + Assert.AreEqual(input.TangentLineNumber, slipPlane.TangentLineNumber); } private static void AssertGrid(MacroStabilityInwardsGrid expectedGrid, UpliftVanGrid actualGrid)