Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsInput.cs =================================================================== diff -u -re2ef0a58393a86f83e172c7eda556b60a5ce9315 -rbf1e2809138eed48e7c2b769e038378cfa1a1ecd --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsInput.cs (.../MacroStabilityInwardsInput.cs) (revision e2ef0a58393a86f83e172c7eda556b60a5ce9315) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsInput.cs (.../MacroStabilityInwardsInput.cs) (revision bf1e2809138eed48e7c2b769e038378cfa1a1ecd) @@ -688,6 +688,7 @@ /// /// Gets or sets the left zone boundary. + /// [m] /// public RoundedDouble ZoneBoundaryLeft { @@ -703,6 +704,7 @@ /// /// Gets or sets the right zone boundary. + /// [m] /// public RoundedDouble ZoneBoundaryRight { Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.KernelWrapper/Calculators/UpliftVan/Input/UpliftVanSlipPlaneConstraints.cs =================================================================== diff -u -ra06f1ed48db991a6604ac72d06107a0f47bf5963 -rbf1e2809138eed48e7c2b769e038378cfa1a1ecd --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.KernelWrapper/Calculators/UpliftVan/Input/UpliftVanSlipPlaneConstraints.cs (.../UpliftVanSlipPlaneConstraints.cs) (revision a06f1ed48db991a6604ac72d06107a0f47bf5963) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.KernelWrapper/Calculators/UpliftVan/Input/UpliftVanSlipPlaneConstraints.cs (.../UpliftVanSlipPlaneConstraints.cs) (revision bf1e2809138eed48e7c2b769e038378cfa1a1ecd) @@ -26,6 +26,19 @@ /// public class UpliftVanSlipPlaneConstraints { + /// + /// Creates a new instance of . + /// + /// The following values are set: + /// + /// is set to false; + /// is set to false; + /// is set to ; + /// is set to ; + /// is set to ; + /// is set to . + /// + /// public UpliftVanSlipPlaneConstraints() { CreateZones = false; @@ -37,7 +50,7 @@ } /// - /// Creates a new instance of . + /// Creates a new instance of . /// /// Indicator whether zones should be created. /// Indicator whether forbidden zones @@ -69,11 +82,13 @@ /// /// Gets the left zone boundary. + /// [m] /// public double ZoneBoundaryLeft { get; } /// /// Gets the right zone boundary. + /// [m] /// public double ZoneBoundaryRight { get; } Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Service/Converters/UpliftVanSlipPlaneConstraintsConverter.cs =================================================================== diff -u -ra06f1ed48db991a6604ac72d06107a0f47bf5963 -rbf1e2809138eed48e7c2b769e038378cfa1a1ecd --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Service/Converters/UpliftVanSlipPlaneConstraintsConverter.cs (.../UpliftVanSlipPlaneConstraintsConverter.cs) (revision a06f1ed48db991a6604ac72d06107a0f47bf5963) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Service/Converters/UpliftVanSlipPlaneConstraintsConverter.cs (.../UpliftVanSlipPlaneConstraintsConverter.cs) (revision bf1e2809138eed48e7c2b769e038378cfa1a1ecd) @@ -32,7 +32,7 @@ internal static class UpliftVanSlipPlaneConstraintsConverter { /// - /// Converts slip plane properties + /// Converts slip plane constraints properties /// into . /// /// The input to get the properties from. @@ -57,7 +57,7 @@ } return new UpliftVanSlipPlaneConstraints(input.CreateZones, - input.ZoningBoundariesDeterminationType == MacroStabilityInwardsZoningBoundariesDeterminationType.Automatic, + false, input.ZoneBoundaryLeft, input.ZoneBoundaryRight, input.SlipPlaneMinimumDepth, Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.KernelWrapper.Test/Calculators/UpliftVan/Input/UpliftVanSlipPlaneConstraintsTest.cs =================================================================== diff -u -ra06f1ed48db991a6604ac72d06107a0f47bf5963 -rbf1e2809138eed48e7c2b769e038378cfa1a1ecd --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.KernelWrapper.Test/Calculators/UpliftVan/Input/UpliftVanSlipPlaneConstraintsTest.cs (.../UpliftVanSlipPlaneConstraintsTest.cs) (revision a06f1ed48db991a6604ac72d06107a0f47bf5963) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.KernelWrapper.Test/Calculators/UpliftVan/Input/UpliftVanSlipPlaneConstraintsTest.cs (.../UpliftVanSlipPlaneConstraintsTest.cs) (revision bf1e2809138eed48e7c2b769e038378cfa1a1ecd) @@ -58,11 +58,11 @@ // Call var constraints = new UpliftVanSlipPlaneConstraints(createZones, - automaticForbiddenZones, - zoneBoundaryLeft, - zoneBoundaryRight, - slipPlaneMinimumDepth, - slipPlaneMinimumLength); + automaticForbiddenZones, + zoneBoundaryLeft, + zoneBoundaryRight, + slipPlaneMinimumDepth, + slipPlaneMinimumLength); // Assert Assert.AreEqual(createZones, constraints.CreateZones); Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.KernelWrapper.Test/Creators/Input/SlipPlaneConstraintsCreatorTest.cs =================================================================== diff -u -ra06f1ed48db991a6604ac72d06107a0f47bf5963 -rbf1e2809138eed48e7c2b769e038378cfa1a1ecd --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.KernelWrapper.Test/Creators/Input/SlipPlaneConstraintsCreatorTest.cs (.../SlipPlaneConstraintsCreatorTest.cs) (revision a06f1ed48db991a6604ac72d06107a0f47bf5963) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.KernelWrapper.Test/Creators/Input/SlipPlaneConstraintsCreatorTest.cs (.../SlipPlaneConstraintsCreatorTest.cs) (revision bf1e2809138eed48e7c2b769e038378cfa1a1ecd) @@ -42,7 +42,7 @@ } [Test] - public void Create_SoilProfile_ExpectedLayersWithSoil() + public void Create_WithUpliftVanSlipPlaneConstraints_ReturnsExpectedSlipPlaneConstraints() { // Setup var random = new Random(39); Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsCalculationServiceTest.cs =================================================================== diff -u -ra06f1ed48db991a6604ac72d06107a0f47bf5963 -rbf1e2809138eed48e7c2b769e038378cfa1a1ecd --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsCalculationServiceTest.cs (.../MacroStabilityInwardsCalculationServiceTest.cs) (revision a06f1ed48db991a6604ac72d06107a0f47bf5963) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsCalculationServiceTest.cs (.../MacroStabilityInwardsCalculationServiceTest.cs) (revision bf1e2809138eed48e7c2b769e038378cfa1a1ecd) @@ -592,6 +592,8 @@ { Assert.AreEqual(originalInput.CreateZones, actualConstraints.CreateZones); Assert.AreEqual(originalInput.ZoningBoundariesDeterminationType == MacroStabilityInwardsZoningBoundariesDeterminationType.Automatic, actualConstraints.AutomaticForbiddenZones); + Assert.AreEqual(originalInput.ZoneBoundaryLeft, actualConstraints.ZoneBoundaryLeft); + Assert.AreEqual(originalInput.ZoneBoundaryRight, actualConstraints.ZoneBoundaryRight); Assert.AreEqual(originalInput.SlipPlaneMinimumDepth, actualConstraints.SlipPlaneMinimumDepth); Assert.AreEqual(originalInput.SlipPlaneMinimumLength, actualConstraints.SlipPlaneMinimumLength); }