Index: Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Data.Test/DuneErosionFailureMechanismTest.cs
===================================================================
diff -u -r330f2e86f2fb575c436cdbb46b6d31bc246ef6fc -r089df2ef98ca525c6b6235eb75be97f25862c689
--- Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Data.Test/DuneErosionFailureMechanismTest.cs (.../DuneErosionFailureMechanismTest.cs) (revision 330f2e86f2fb575c436cdbb46b6d31bc246ef6fc)
+++ Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Data.Test/DuneErosionFailureMechanismTest.cs (.../DuneErosionFailureMechanismTest.cs) (revision 089df2ef98ca525c6b6235eb75be97f25862c689)
@@ -23,6 +23,7 @@
using Core.Common.Base.Geometry;
using NUnit.Framework;
using Ringtoets.Common.Data.FailureMechanism;
+using Ringtoets.Common.Data.TestUtil;
namespace Ringtoets.DuneErosion.Data.Test
{
@@ -41,7 +42,8 @@
Assert.AreEqual("DA", failureMechanism.Code);
CollectionAssert.IsEmpty(failureMechanism.Sections);
CollectionAssert.IsEmpty(failureMechanism.DuneLocations);
- Assert.AreEqual(2, failureMechanism.GeneralInput.N.Value);
+ Assert.AreEqual(2, failureMechanism.GeneralInput.N.NumberOfDecimalPlaces);
+ Assert.AreEqual(2.0, failureMechanism.GeneralInput.N, failureMechanism.GeneralInput.N.GetAccuracy());
}
[Test]
Index: Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Forms.Test/PropertyClasses/DuneErosionFailureMechanismPropertiesTest.cs
===================================================================
diff -u -r65ce8c5ab171b234e33e2291998c9d89276db896 -r089df2ef98ca525c6b6235eb75be97f25862c689
--- Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Forms.Test/PropertyClasses/DuneErosionFailureMechanismPropertiesTest.cs (.../DuneErosionFailureMechanismPropertiesTest.cs) (revision 65ce8c5ab171b234e33e2291998c9d89276db896)
+++ Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Forms.Test/PropertyClasses/DuneErosionFailureMechanismPropertiesTest.cs (.../DuneErosionFailureMechanismPropertiesTest.cs) (revision 089df2ef98ca525c6b6235eb75be97f25862c689)
@@ -27,6 +27,7 @@
using Core.Common.TestUtil;
using NUnit.Framework;
using Rhino.Mocks;
+using Ringtoets.Common.Data.TestUtil;
using Ringtoets.Common.Forms.PropertyClasses;
using Ringtoets.Common.Forms.TestUtil;
using Ringtoets.DuneErosion.Data;
@@ -286,7 +287,7 @@
properties.N = (RoundedDouble) newN;
// Assert
- Assert.AreEqual(newN, failureMechanism.GeneralInput.N.Value);
+ Assert.AreEqual(newN, failureMechanism.GeneralInput.N, failureMechanism.GeneralInput.N.GetAccuracy());
Assert.IsTrue(changeHandler.Called);
mockRepository.VerifyAll();
}
Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GeneralGrassCoverErosionInwardsInput.cs
===================================================================
diff -u -r4e11185058b30d0fc525382d015112be4a2e84f8 -r089df2ef98ca525c6b6235eb75be97f25862c689
--- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GeneralGrassCoverErosionInwardsInput.cs (.../GeneralGrassCoverErosionInwardsInput.cs) (revision 4e11185058b30d0fc525382d015112be4a2e84f8)
+++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GeneralGrassCoverErosionInwardsInput.cs (.../GeneralGrassCoverErosionInwardsInput.cs) (revision 089df2ef98ca525c6b6235eb75be97f25862c689)
@@ -81,8 +81,8 @@
///
/// Gets or sets the 'N' parameter used to factor in the 'length effect'.
///
- /// Thrown when the is not in
- /// the interval [1.0, 20.0].
+ /// Thrown when the
+ /// is not in the [1.0, 20.0] interval.
public RoundedDouble N
{
get
Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Data/GeneralGrassCoverErosionOutwardsInput.cs
===================================================================
diff -u -r4e11185058b30d0fc525382d015112be4a2e84f8 -r089df2ef98ca525c6b6235eb75be97f25862c689
--- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Data/GeneralGrassCoverErosionOutwardsInput.cs (.../GeneralGrassCoverErosionOutwardsInput.cs) (revision 4e11185058b30d0fc525382d015112be4a2e84f8)
+++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Data/GeneralGrassCoverErosionOutwardsInput.cs (.../GeneralGrassCoverErosionOutwardsInput.cs) (revision 089df2ef98ca525c6b6235eb75be97f25862c689)
@@ -57,8 +57,8 @@
///
/// Gets or sets the 'N' parameter used to factor in the 'length effect'.
///
- /// Thrown when the is not in
- /// the interval [1.0, 20.0].
+ /// Thrown when the
+ /// is not in the [1.0, 20.0] interval.
public RoundedDouble N
{
get
Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Data/GeneralHeightStructuresInput.cs
===================================================================
diff -u -r4e11185058b30d0fc525382d015112be4a2e84f8 -r089df2ef98ca525c6b6235eb75be97f25862c689
--- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Data/GeneralHeightStructuresInput.cs (.../GeneralHeightStructuresInput.cs) (revision 4e11185058b30d0fc525382d015112be4a2e84f8)
+++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Data/GeneralHeightStructuresInput.cs (.../GeneralHeightStructuresInput.cs) (revision 089df2ef98ca525c6b6235eb75be97f25862c689)
@@ -65,8 +65,8 @@
///
/// Gets or sets the 'N' parameter used to factor in the 'length effect'.
///
- /// Thrown when the is not in
- /// the interval [1.0, 20.0].
+ /// Thrown when the
+ /// is not in the [1.0, 20.0] interval.
public RoundedDouble N
{
get
Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/GeneralStabilityPointStructuresInput.cs
===================================================================
diff -u -r4e11185058b30d0fc525382d015112be4a2e84f8 -r089df2ef98ca525c6b6235eb75be97f25862c689
--- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/GeneralStabilityPointStructuresInput.cs (.../GeneralStabilityPointStructuresInput.cs) (revision 4e11185058b30d0fc525382d015112be4a2e84f8)
+++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/GeneralStabilityPointStructuresInput.cs (.../GeneralStabilityPointStructuresInput.cs) (revision 089df2ef98ca525c6b6235eb75be97f25862c689)
@@ -88,8 +88,8 @@
///
/// Gets or sets the 'N' parameter used to factor in the 'length effect'.
///
- /// Thrown when the is not in
- /// the interval [1.0, 20.0].
+ /// Thrown when the
+ /// is not in the [1.0, 20.0] interval.
public RoundedDouble N
{
get