Index: Ringtoets/Common/src/Ringtoets.Common.Data/Probability/ProbabilityAssessmentInput.cs
===================================================================
diff -u -r4e9d3556e3cee0365fc0f26d0bad19b50594e12d -r759a8a5a3c1b7fd724152a96efeca49e83a76e3e
--- Ringtoets/Common/src/Ringtoets.Common.Data/Probability/ProbabilityAssessmentInput.cs (.../ProbabilityAssessmentInput.cs) (revision 4e9d3556e3cee0365fc0f26d0bad19b50594e12d)
+++ Ringtoets/Common/src/Ringtoets.Common.Data/Probability/ProbabilityAssessmentInput.cs (.../ProbabilityAssessmentInput.cs) (revision 759a8a5a3c1b7fd724152a96efeca49e83a76e3e)
@@ -38,6 +38,11 @@
///
/// Creates a new instance of .
///
+ /// The default value for the parameter 'a' to be used to factor in the 'length effect'
+ /// when determining the maximum tolerated probability of failure.
+ /// The default value for the parameter 'b' to be used to factor in the 'length effect'
+ /// when determining the maximum tolerated probability of failure.
+ /// Thrown when is not in the range [0, 1].
protected ProbabilityAssessmentInput(double a, double b)
{
A = a;
@@ -74,7 +79,7 @@
}
///
- /// Gets the 'b' parameter used t ofactor in the 'length effect' when determining
+ /// Gets the 'b' parameter used to factor in the 'length effect' when determining
/// the maximum tolerated probability of failure.
///
public double B { get; }
Index: Ringtoets/Common/test/Ringtoets.Common.Data.Test/Probability/ProbabilityAssessmentInputTest.cs
===================================================================
diff -u -r4e9d3556e3cee0365fc0f26d0bad19b50594e12d -r759a8a5a3c1b7fd724152a96efeca49e83a76e3e
--- Ringtoets/Common/test/Ringtoets.Common.Data.Test/Probability/ProbabilityAssessmentInputTest.cs (.../ProbabilityAssessmentInputTest.cs) (revision 4e9d3556e3cee0365fc0f26d0bad19b50594e12d)
+++ Ringtoets/Common/test/Ringtoets.Common.Data.Test/Probability/ProbabilityAssessmentInputTest.cs (.../ProbabilityAssessmentInputTest.cs) (revision 759a8a5a3c1b7fd724152a96efeca49e83a76e3e)
@@ -59,7 +59,6 @@
var probabilityAssessmentInput = new TestProbabilityAssessmentInput(a, b);
// Assert
- Assert.IsInstanceOf(probabilityAssessmentInput);
Assert.AreEqual(a, probabilityAssessmentInput.A);
Assert.AreEqual(b, probabilityAssessmentInput.B);
Assert.IsNaN(probabilityAssessmentInput.SectionLength);
Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/Probability/TestProbabilityAssessmentInput.cs
===================================================================
diff -u -r4e9d3556e3cee0365fc0f26d0bad19b50594e12d -r759a8a5a3c1b7fd724152a96efeca49e83a76e3e
--- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/Probability/TestProbabilityAssessmentInput.cs (.../TestProbabilityAssessmentInput.cs) (revision 4e9d3556e3cee0365fc0f26d0bad19b50594e12d)
+++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/Probability/TestProbabilityAssessmentInput.cs (.../TestProbabilityAssessmentInput.cs) (revision 759a8a5a3c1b7fd724152a96efeca49e83a76e3e)
@@ -19,6 +19,7 @@
// Stichting Deltares and remain full property of Stichting Deltares at all times.
// All rights reserved.
+using System;
using Ringtoets.Common.Data.Probability;
namespace Ringtoets.Common.Data.TestUtil.Probability
@@ -31,8 +32,11 @@
///
/// Creates a new instance of .
///
- /// The value of .
- /// The value of .
+ /// The default value for the parameter 'a' to be used to factor in the 'length effect'
+ /// when determining the maximum tolerated probability of failure.
+ /// The default value for the parameter 'b' to be used to factor in the 'length effect'
+ /// when determining the maximum tolerated probability of failure.
+ /// Thrown when is not in the range [0, 1]."/>
public TestProbabilityAssessmentInput(double a, double b) : base(a, b) {}
}
}
\ No newline at end of file
Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/PropertyInfos/MacroStabilityInwardsFailureMechanismSectionsContextPropertyInfoTest.cs
===================================================================
diff -u -r4e9d3556e3cee0365fc0f26d0bad19b50594e12d -r759a8a5a3c1b7fd724152a96efeca49e83a76e3e
--- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/PropertyInfos/MacroStabilityInwardsFailureMechanismSectionsContextPropertyInfoTest.cs (.../MacroStabilityInwardsFailureMechanismSectionsContextPropertyInfoTest.cs) (revision 4e9d3556e3cee0365fc0f26d0bad19b50594e12d)
+++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/PropertyInfos/MacroStabilityInwardsFailureMechanismSectionsContextPropertyInfoTest.cs (.../MacroStabilityInwardsFailureMechanismSectionsContextPropertyInfoTest.cs) (revision 759a8a5a3c1b7fd724152a96efeca49e83a76e3e)
@@ -59,7 +59,7 @@
}
[Test]
- public void CreateInstance_Always_NewPropertiesWithSectionsAsData()
+ public void CreateInstance_WithValidArguments_NewPropertiesWithSectionsAsData()
{
// Setup
var mocks = new MockRepository();
Index: Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/PropertyInfos/PipingFailureMechanismSectionsContextPropertyInfoTest.cs
===================================================================
diff -u -r4e9d3556e3cee0365fc0f26d0bad19b50594e12d -r759a8a5a3c1b7fd724152a96efeca49e83a76e3e
--- Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/PropertyInfos/PipingFailureMechanismSectionsContextPropertyInfoTest.cs (.../PipingFailureMechanismSectionsContextPropertyInfoTest.cs) (revision 4e9d3556e3cee0365fc0f26d0bad19b50594e12d)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Plugin.Test/PropertyInfos/PipingFailureMechanismSectionsContextPropertyInfoTest.cs (.../PipingFailureMechanismSectionsContextPropertyInfoTest.cs) (revision 759a8a5a3c1b7fd724152a96efeca49e83a76e3e)
@@ -59,7 +59,7 @@
}
[Test]
- public void CreateInstance_Always_NewPropertiesWithSectionsAsData()
+ public void CreateInstance_WithValidArguments_NewPropertiesWithSectionsAsData()
{
// Setup
var mocks = new MockRepository();