Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/StabilityPointStructureType.cs =================================================================== diff -u -ra6e0409b281c46630100de22ec860d3a3d4d8fa5 -r6c641362a210f843ebb546b651df0a9b878fd7cf --- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/StabilityPointStructureType.cs (.../StabilityPointStructureType.cs) (revision a6e0409b281c46630100de22ec860d3a3d4d8fa5) +++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/StabilityPointStructureType.cs (.../StabilityPointStructureType.cs) (revision 6c641362a210f843ebb546b651df0a9b878fd7cf) @@ -25,7 +25,7 @@ namespace Ringtoets.StabilityPointStructures.Data { /// - /// Defines the types of the various + /// Defines the types of the various . /// public enum StabilityPointStructureType { Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/StabilityPointStructuresInput.cs =================================================================== diff -u -rb70abd70f1cd326d1a753c5879a065149ac2ae84 -r6c641362a210f843ebb546b651df0a9b878fd7cf --- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/StabilityPointStructuresInput.cs (.../StabilityPointStructuresInput.cs) (revision b70abd70f1cd326d1a753c5879a065149ac2ae84) +++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/StabilityPointStructuresInput.cs (.../StabilityPointStructuresInput.cs) (revision 6c641362a210f843ebb546b651df0a9b878fd7cf) @@ -218,6 +218,11 @@ UpdateForeshoreProperties(); } + private static bool ValidProbabilityValue(double probability) + { + return !double.IsNaN(probability) && probability >= 0 && probability <= 1; + } + #region Structure / calculation properties /// @@ -237,11 +242,6 @@ #endregion - private bool ValidProbabilityValue(double probability) - { - return !double.IsNaN(probability) && probability >= 0 && probability <= 1; - } - #region Hydraulic data and loads /// @@ -392,7 +392,7 @@ #region Model Inputs and critical values /// - /// Gets or sets the model factor for super critical flow. + /// Gets or sets the model factor for super critical flow. /// /// Only sets the mean. public NormalDistribution ModelFactorSuperCriticalFlow @@ -610,6 +610,7 @@ /// Gets or sets the failure probability of repairing a closure. /// [1/year] /// + /// Thrown when the probability is not in interval [0,1]. public double FailureProbabilityRepairClosure { get @@ -678,7 +679,7 @@ } /// - /// Gets or sets the levelling count. + /// Gets or sets the leveling count. /// [1/year] /// public int LevelingCount { get; set; } @@ -687,6 +688,7 @@ /// Gets or sets the probability of a secondary collision on the structure. /// [1/levelling] /// + /// Thrown when the probability is not in interval [0,1]. public double ProbabilityCollisionSecondaryStructure { get @@ -775,6 +777,7 @@ /// Gets or sets the failure probability of a structure with erosion. /// [1/year] /// + /// Thrown when the probability is not in interval [0,1]. public double FailureProbabilityStructureWithErosion { get Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresInputTest.cs =================================================================== diff -u -rb70abd70f1cd326d1a753c5879a065149ac2ae84 -r6c641362a210f843ebb546b651df0a9b878fd7cf --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresInputTest.cs (.../StabilityPointStructuresInputTest.cs) (revision b70abd70f1cd326d1a753c5879a065149ac2ae84) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresInputTest.cs (.../StabilityPointStructuresInputTest.cs) (revision 6c641362a210f843ebb546b651df0a9b878fd7cf) @@ -122,6 +122,7 @@ } # region Calculation inputs + [Test] [TestCase(StabilityPointStructureType.LowSill)] [TestCase(StabilityPointStructureType.FloodedCulvert)] @@ -151,6 +152,7 @@ // Assert Assert.AreEqual(type, input.LoadSchematizationType); } + #endregion #region Hydraulic loads and data