Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/PresentationObjects/GrassCoverErosionInwardsFailureMechanismContextTest.cs =================================================================== diff -u -raeb6e1a439617630e7613b9ed5af152c345fa2c6 -r4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6 --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/PresentationObjects/GrassCoverErosionInwardsFailureMechanismContextTest.cs (.../GrassCoverErosionInwardsFailureMechanismContextTest.cs) (revision aeb6e1a439617630e7613b9ed5af152c345fa2c6) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/PresentationObjects/GrassCoverErosionInwardsFailureMechanismContextTest.cs (.../GrassCoverErosionInwardsFailureMechanismContextTest.cs) (revision 4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6) @@ -19,7 +19,6 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. -using System; using NUnit.Framework; using Rhino.Mocks; using Ringtoets.Common.Data.AssessmentSection; @@ -51,18 +50,5 @@ Assert.AreSame(failureMechanism, context.WrappedData); mocks.VerifyAll(); } - - [Test] - public void Constructor_AssessmentSectionIsNull_ThrowsArgumentNullException() - { - // Setup - var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); - - // Call - TestDelegate call = () => new GrassCoverErosionInwardsFailureMechanismContext(failureMechanism, null); - - // Assert - Assert.Throws(call); - } } } \ No newline at end of file Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PresentationObjects/GrassCoverErosionOutwardsFailureMechanismContextTest.cs =================================================================== diff -u -rfcd32c8e949b4581cc20adcaa7cf7639fcb69d20 -r4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PresentationObjects/GrassCoverErosionOutwardsFailureMechanismContextTest.cs (.../GrassCoverErosionOutwardsFailureMechanismContextTest.cs) (revision fcd32c8e949b4581cc20adcaa7cf7639fcb69d20) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PresentationObjects/GrassCoverErosionOutwardsFailureMechanismContextTest.cs (.../GrassCoverErosionOutwardsFailureMechanismContextTest.cs) (revision 4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6) @@ -19,7 +19,6 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. -using System; using NUnit.Framework; using Rhino.Mocks; using Ringtoets.Common.Data.AssessmentSection; @@ -51,33 +50,5 @@ Assert.AreSame(failureMechanism, context.WrappedData); mocks.VerifyAll(); } - - [Test] - public void Constructor_FailureMechanismIsNull_ThrowsArgumentNullException() - { - // Setup - var mocks = new MockRepository(); - var assessmentSection = mocks.Stub(); - mocks.ReplayAll(); - - // Call - TestDelegate call = () => new GrassCoverErosionOutwardsFailureMechanismContext(null, assessmentSection); - - // Assert - Assert.Throws(call); - } - - [Test] - public void Constructor_AssessmentSectionIsNull_ThrowsArgumentNullException() - { - // Setup - var failureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); - - // Call - TestDelegate call = () => new GrassCoverErosionOutwardsFailureMechanismContext(failureMechanism, null); - - // Assert - Assert.Throws(call); - } } } \ No newline at end of file Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/PresentationObjects/HeightStructuresFailureMechanismContextTest.cs =================================================================== diff -u -r4bf59bb3506b840b284efe0c0f4431b7876e0e5b -r4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/PresentationObjects/HeightStructuresFailureMechanismContextTest.cs (.../HeightStructuresFailureMechanismContextTest.cs) (revision 4bf59bb3506b840b284efe0c0f4431b7876e0e5b) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/PresentationObjects/HeightStructuresFailureMechanismContextTest.cs (.../HeightStructuresFailureMechanismContextTest.cs) (revision 4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6) @@ -19,7 +19,6 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. -using System; using NUnit.Framework; using Rhino.Mocks; using Ringtoets.Common.Data.AssessmentSection; @@ -51,19 +50,5 @@ Assert.AreSame(failureMechanism, context.WrappedData); mocks.VerifyAll(); } - - [Test] - public void Constructor_AssessmentSectionIsNull_ThrowArgumentNullException() - { - // Setup - var failureMechanism = new HeightStructuresFailureMechanism(); - - // Call - TestDelegate call = () => new HeightStructuresFailureMechanismContext(failureMechanism, null); - - // Assert - var exception = Assert.Throws(call); - Assert.AreEqual("parent", exception.ParamName); - } } } \ No newline at end of file Index: Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/AssessmentSectionTest.cs =================================================================== diff -u -r54a4372151869517f914727339477256a52090f6 -r4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6 --- Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/AssessmentSectionTest.cs (.../AssessmentSectionTest.cs) (revision 54a4372151869517f914727339477256a52090f6) +++ Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/AssessmentSectionTest.cs (.../AssessmentSectionTest.cs) (revision 4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6) @@ -150,6 +150,9 @@ Assert.AreEqual(Enumerable.Repeat(1.0 / 30000.0, 12), section.FailureMechanismContribution.Distribution.Select(d => d.Norm)); Assert.AreEqual(double.NaN, section.Piping.PipingProbabilityAssessmentInput.SectionLength); + Assert.AreEqual(double.NaN, section.MacroStabilityInwards.MacroStabilityInwardsProbabilityAssessmentInput.SectionLength); + Assert.AreEqual(double.NaN, section.MacroStabilityOutwards.MacroStabilityOutwardsProbabilityAssessmentInput.SectionLength); + Assert.AreEqual(double.NaN, section.WaveImpactAsphaltCover.GeneralWaveImpactAsphaltCoverInput.SectionLength); Assert.AreEqual(sum, section.FailureMechanismContribution.Distribution.Sum(d => d.Contribution)); Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PresentationObjects/StandAlone/MacroStabilityOutwardsFailureMechanismContextTest.cs =================================================================== diff -u -r8820d80a97281c96db5f89d5af6c74d26e0f5bca -r4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PresentationObjects/StandAlone/MacroStabilityOutwardsFailureMechanismContextTest.cs (.../MacroStabilityOutwardsFailureMechanismContextTest.cs) (revision 8820d80a97281c96db5f89d5af6c74d26e0f5bca) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PresentationObjects/StandAlone/MacroStabilityOutwardsFailureMechanismContextTest.cs (.../MacroStabilityOutwardsFailureMechanismContextTest.cs) (revision 4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6) @@ -19,7 +19,6 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. -using System; using NUnit.Framework; using Rhino.Mocks; using Ringtoets.Common.Data.AssessmentSection; @@ -51,18 +50,5 @@ Assert.AreSame(failureMechanism, context.WrappedData); mocks.VerifyAll(); } - - [Test] - public void Constructor_AssessmentSectionIsNull_ThrowArgumentNullException() - { - // Setup - var failureMechanism = new MacroStabilityOutwardsFailureMechanism(); - - // Call - TestDelegate call = () => new MacroStabilityOutwardsFailureMechanismContext(failureMechanism, null); - - // Assert - Assert.Throws(call); - } } } \ No newline at end of file Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PresentationObjects/StandAlone/PipingStructureFailureMechanismContextTest.cs =================================================================== diff -u -r65ce8c5ab171b234e33e2291998c9d89276db896 -r4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PresentationObjects/StandAlone/PipingStructureFailureMechanismContextTest.cs (.../PipingStructureFailureMechanismContextTest.cs) (revision 65ce8c5ab171b234e33e2291998c9d89276db896) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PresentationObjects/StandAlone/PipingStructureFailureMechanismContextTest.cs (.../PipingStructureFailureMechanismContextTest.cs) (revision 4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6) @@ -19,7 +19,6 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. -using System; using NUnit.Framework; using Rhino.Mocks; using Ringtoets.Common.Data.AssessmentSection; @@ -51,18 +50,5 @@ Assert.AreSame(failureMechanism, context.WrappedData); mocks.VerifyAll(); } - - [Test] - public void Constructor_AssessmentSectionIsNull_ThrowArgumentNullException() - { - // Setup - var failureMechanism = new PipingStructureFailureMechanism(); - - // Call - TestDelegate call = () => new PipingStructureFailureMechanismContext(failureMechanism, null); - - // Assert - Assert.Throws(call); - } } } \ No newline at end of file Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PropertyClasses/StandAlone/PipingStructureFailureMechanismPropertiesTest.cs =================================================================== diff -u -r65ce8c5ab171b234e33e2291998c9d89276db896 -r4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PropertyClasses/StandAlone/PipingStructureFailureMechanismPropertiesTest.cs (.../PipingStructureFailureMechanismPropertiesTest.cs) (revision 65ce8c5ab171b234e33e2291998c9d89276db896) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PropertyClasses/StandAlone/PipingStructureFailureMechanismPropertiesTest.cs (.../PipingStructureFailureMechanismPropertiesTest.cs) (revision 4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6) @@ -189,7 +189,7 @@ [TestCase(1)] [TestCase(12)] [TestCase(20)] - public void A_SetValidValue_SetsValueAndUpdatesObserver(double value) + public void N_SetValidValue_SetsValueAndUpdatesObserver(double value) { // Setup var mocks = new MockRepository(); Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/MacroStabilityOutwardsFailureMechanismContextTreeNodeInfoTest.cs =================================================================== diff -u -rc3641f1375abfabf1c8093037c0cccd3eb77d52a -r4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/MacroStabilityOutwardsFailureMechanismContextTreeNodeInfoTest.cs (.../MacroStabilityOutwardsFailureMechanismContextTreeNodeInfoTest.cs) (revision c3641f1375abfabf1c8093037c0cccd3eb77d52a) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/MacroStabilityOutwardsFailureMechanismContextTreeNodeInfoTest.cs (.../MacroStabilityOutwardsFailureMechanismContextTreeNodeInfoTest.cs) (revision 4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6) @@ -19,7 +19,6 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. -using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Windows.Forms; Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/PipingStructureFailureMechanismContextTreeNodeInfoTest.cs =================================================================== diff -u -rc3641f1375abfabf1c8093037c0cccd3eb77d52a -r4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/PipingStructureFailureMechanismContextTreeNodeInfoTest.cs (.../PipingStructureFailureMechanismContextTreeNodeInfoTest.cs) (revision c3641f1375abfabf1c8093037c0cccd3eb77d52a) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/PipingStructureFailureMechanismContextTreeNodeInfoTest.cs (.../PipingStructureFailureMechanismContextTreeNodeInfoTest.cs) (revision 4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6) @@ -19,7 +19,6 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. -using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Windows.Forms; Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PresentationObjects/MacroStabilityInwardsFailureMechanismContextTest.cs =================================================================== diff -u -r650fc7b43cb6729baee51d079f0377df8d7a3de9 -r4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PresentationObjects/MacroStabilityInwardsFailureMechanismContextTest.cs (.../MacroStabilityInwardsFailureMechanismContextTest.cs) (revision 650fc7b43cb6729baee51d079f0377df8d7a3de9) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PresentationObjects/MacroStabilityInwardsFailureMechanismContextTest.cs (.../MacroStabilityInwardsFailureMechanismContextTest.cs) (revision 4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6) @@ -19,7 +19,6 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. -using System; using NUnit.Framework; using Rhino.Mocks; using Ringtoets.Common.Data.AssessmentSection; @@ -51,18 +50,5 @@ Assert.AreSame(failureMechanism, context.WrappedData); mocks.VerifyAll(); } - - [Test] - public void Constructor_AssessmentSectionIsNull_ThrowArgumentNullException() - { - // Setup - var failureMechanism = new MacroStabilityInwardsFailureMechanism(); - - // Call - TestDelegate call = () => new MacroStabilityInwardsFailureMechanismContext(failureMechanism, null); - - // Assert - Assert.Throws(call); - } } } \ No newline at end of file Index: Ringtoets/Piping/src/Ringtoets.Piping.Forms/PropertyClasses/PipingFailureMechanismProperties.cs =================================================================== diff -u -r9fafa15446cd4461c6c320271902fd15b6dff43f -r4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6 --- Ringtoets/Piping/src/Ringtoets.Piping.Forms/PropertyClasses/PipingFailureMechanismProperties.cs (.../PipingFailureMechanismProperties.cs) (revision 9fafa15446cd4461c6c320271902fd15b6dff43f) +++ Ringtoets/Piping/src/Ringtoets.Piping.Forms/PropertyClasses/PipingFailureMechanismProperties.cs (.../PipingFailureMechanismProperties.cs) (revision 4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6) @@ -188,7 +188,7 @@ #endregion - #region Semi-probabilistic parameters + #region Length effect parameters [DynamicVisible] [PropertyOrder(21)] Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PresentationObjects/PipingFailureMechanismContextTest.cs =================================================================== diff -u -r81fa8a9bf3bd503cbd280e88b8f6037a840cff12 -r4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6 --- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PresentationObjects/PipingFailureMechanismContextTest.cs (.../PipingFailureMechanismContextTest.cs) (revision 81fa8a9bf3bd503cbd280e88b8f6037a840cff12) +++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PresentationObjects/PipingFailureMechanismContextTest.cs (.../PipingFailureMechanismContextTest.cs) (revision 4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6) @@ -19,7 +19,6 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. -using System; using NUnit.Framework; using Rhino.Mocks; using Ringtoets.Common.Data.AssessmentSection; @@ -51,18 +50,5 @@ Assert.AreSame(failureMechanism, context.WrappedData); mocks.VerifyAll(); } - - [Test] - public void Constructor_AssessmentSectionIsNull_ThrowArgumentNullException() - { - // Setup - var failureMechanism = new PipingFailureMechanism(); - - // Call - TestDelegate call = () => new PipingFailureMechanismContext(failureMechanism, null); - - // Assert - Assert.Throws(call); - } } } \ No newline at end of file Index: Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/PropertyClasses/StabilityStoneCoverFailureMechanismProperties.cs =================================================================== diff -u -rac74205f3a29ca5bce4772b38e365f85fa9ba0bc -r4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6 --- Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/PropertyClasses/StabilityStoneCoverFailureMechanismProperties.cs (.../StabilityStoneCoverFailureMechanismProperties.cs) (revision ac74205f3a29ca5bce4772b38e365f85fa9ba0bc) +++ Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/PropertyClasses/StabilityStoneCoverFailureMechanismProperties.cs (.../StabilityStoneCoverFailureMechanismProperties.cs) (revision 4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6) @@ -41,7 +41,7 @@ /// Creates a new instance of . /// /// The instance to show the properties of. - /// Thrown when any input parameter is null. + /// Thrown when is null. public StabilityStoneCoverFailureMechanismProperties(StabilityStoneCoverFailureMechanism data) { if (data == null) Index: Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/PresentationObjects/StabilityStoneCoverFailureMechanismContextTest.cs =================================================================== diff -u -r94f2ec1496623ae488b567f883e66b4d26243441 -r4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6 --- Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/PresentationObjects/StabilityStoneCoverFailureMechanismContextTest.cs (.../StabilityStoneCoverFailureMechanismContextTest.cs) (revision 94f2ec1496623ae488b567f883e66b4d26243441) +++ Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/PresentationObjects/StabilityStoneCoverFailureMechanismContextTest.cs (.../StabilityStoneCoverFailureMechanismContextTest.cs) (revision 4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6) @@ -19,7 +19,6 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. -using System; using NUnit.Framework; using Rhino.Mocks; using Ringtoets.Common.Data.AssessmentSection; @@ -33,37 +32,6 @@ public class StabilityStoneCoverFailureMechanismContextTest { [Test] - public void Constructor_FailureMechanismNull_ThrowsArgumentNullException() - { - // Setup - var mocks = new MockRepository(); - var assessmentSection = mocks.Stub(); - mocks.ReplayAll(); - - // Call - TestDelegate call = () => new StabilityStoneCoverFailureMechanismContext(null, assessmentSection); - - // Assert - string paramName = Assert.Throws(call).ParamName; - Assert.AreEqual("wrappedData", paramName); - mocks.VerifyAll(); - } - - [Test] - public void Constructor_AssessmentSectionNull_ThrowsArgumentNullException() - { - // Setup - var failureMechanism = new StabilityStoneCoverFailureMechanism(); - - // Call - TestDelegate call = () => new StabilityStoneCoverFailureMechanismContext(failureMechanism, null); - - // Assert - string paramName = Assert.Throws(call).ParamName; - Assert.AreEqual("parent", paramName); - } - - [Test] public void Constructor_ValidArguments_ExpectedValues() { // Setup Index: Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/PropertyClasses/StabilityStoneCoverFailureMechanismPropertiesTest.cs =================================================================== diff -u -r6ac1d016e76120e778964de3ad7e2c0d6c837669 -r4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6 --- Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/PropertyClasses/StabilityStoneCoverFailureMechanismPropertiesTest.cs (.../StabilityStoneCoverFailureMechanismPropertiesTest.cs) (revision 6ac1d016e76120e778964de3ad7e2c0d6c837669) +++ Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/PropertyClasses/StabilityStoneCoverFailureMechanismPropertiesTest.cs (.../StabilityStoneCoverFailureMechanismPropertiesTest.cs) (revision 4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6) @@ -158,7 +158,7 @@ } [Test] - public void Constructor_FailureMechanismIsRelevantFalse_PropertiesHaveExpectedAttributesValues() + public void Constructor_IsRelevantFalse_PropertiesHaveExpectedAttributesValues() { // Setup var failureMechanism = new StabilityStoneCoverFailureMechanism Index: Ringtoets/WaveImpactAsphaltCover/src/Ringtoets.WaveImpactAsphaltCover.Data/GeneralWaveImpactAsphaltCoverInput.cs =================================================================== diff -u -r220611cdf66f9c106ad7c1970b61f06c119f01f5 -r4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6 --- Ringtoets/WaveImpactAsphaltCover/src/Ringtoets.WaveImpactAsphaltCover.Data/GeneralWaveImpactAsphaltCoverInput.cs (.../GeneralWaveImpactAsphaltCoverInput.cs) (revision 220611cdf66f9c106ad7c1970b61f06c119f01f5) +++ Ringtoets/WaveImpactAsphaltCover/src/Ringtoets.WaveImpactAsphaltCover.Data/GeneralWaveImpactAsphaltCoverInput.cs (.../GeneralWaveImpactAsphaltCoverInput.cs) (revision 4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6) @@ -70,8 +70,7 @@ public double SectionLength { get; set; } /// - /// Gets the 'N' length effect parameter based on the - /// and . + /// Gets or sets the 'N' parameter used to factor in the 'length effect'. /// public double N { Index: Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Data.Test/GeneralWaveImpactAsphaltCoverInputTest.cs =================================================================== diff -u -ra663d0eb4c24012fdfafc00ee7aaffb18e75cb96 -r4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6 --- Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Data.Test/GeneralWaveImpactAsphaltCoverInputTest.cs (.../GeneralWaveImpactAsphaltCoverInputTest.cs) (revision a663d0eb4c24012fdfafc00ee7aaffb18e75cb96) +++ Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Data.Test/GeneralWaveImpactAsphaltCoverInputTest.cs (.../GeneralWaveImpactAsphaltCoverInputTest.cs) (revision 4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6) @@ -74,6 +74,7 @@ generalInput.DeltaL = (RoundedDouble) value; // Assert + Assert.AreEqual(2, generalInput.DeltaL.NumberOfDecimalPlaces); Assert.AreEqual(value, generalInput.DeltaL, generalInput.DeltaL.GetAccuracy()); } Index: Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Forms.Test/PresentationObjects/WaveImpactAsphaltCoverFailureMechanismContextTest.cs =================================================================== diff -u -r08d25a2d4cd349395730ef39d3abf2cc51c30508 -r4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6 --- Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Forms.Test/PresentationObjects/WaveImpactAsphaltCoverFailureMechanismContextTest.cs (.../WaveImpactAsphaltCoverFailureMechanismContextTest.cs) (revision 08d25a2d4cd349395730ef39d3abf2cc51c30508) +++ Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Forms.Test/PresentationObjects/WaveImpactAsphaltCoverFailureMechanismContextTest.cs (.../WaveImpactAsphaltCoverFailureMechanismContextTest.cs) (revision 4ca0389a47c2979f47d826f86a84e2e9f7a6f7f6) @@ -19,7 +19,6 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. -using System; using NUnit.Framework; using Rhino.Mocks; using Ringtoets.Common.Data.AssessmentSection; @@ -33,37 +32,6 @@ public class WaveImpactAsphaltCoverFailureMechanismContextTest { [Test] - public void Constructor_FailureMechanismNull_ThrowsArgumentNullException() - { - // Setup - var mocks = new MockRepository(); - var assessmentSection = mocks.Stub(); - mocks.ReplayAll(); - - // Call - TestDelegate call = () => new WaveImpactAsphaltCoverFailureMechanismContext(null, assessmentSection); - - // Assert - string paramName = Assert.Throws(call).ParamName; - Assert.AreEqual("wrappedData", paramName); - mocks.VerifyAll(); - } - - [Test] - public void Constructor_AssessmentSectionNull_ThrowsArgumentNullException() - { - // Setup - var failureMechanism = new WaveImpactAsphaltCoverFailureMechanism(); - - // Call - TestDelegate call = () => new WaveImpactAsphaltCoverFailureMechanismContext(failureMechanism, null); - - // Assert - string paramName = Assert.Throws(call).ParamName; - Assert.AreEqual("parent", paramName); - } - - [Test] public void Constructor_ValidArguments_ExpectedValues() { // Setup