Index: Ringtoets/WaveImpactAsphaltCover/src/Ringtoets.WaveImpactAsphaltCover.Data/GeneralWaveImpactAsphaltCoverInput.cs =================================================================== diff -u -r2a67701c6a0c6c0ee8b1a4c3c3c704834f209969 -r34676ef0dba7656c14b7a38cd4caf45a5d2fd420 --- Ringtoets/WaveImpactAsphaltCover/src/Ringtoets.WaveImpactAsphaltCover.Data/GeneralWaveImpactAsphaltCoverInput.cs (.../GeneralWaveImpactAsphaltCoverInput.cs) (revision 2a67701c6a0c6c0ee8b1a4c3c3c704834f209969) +++ Ringtoets/WaveImpactAsphaltCover/src/Ringtoets.WaveImpactAsphaltCover.Data/GeneralWaveImpactAsphaltCoverInput.cs (.../GeneralWaveImpactAsphaltCoverInput.cs) (revision 34676ef0dba7656c14b7a38cd4caf45a5d2fd420) @@ -38,7 +38,6 @@ public GeneralWaveImpactAsphaltCoverInput() { deltaL = new RoundedDouble(2, 1000.0); - SectionLength = double.NaN; } /// @@ -65,24 +64,8 @@ } /// - /// Gets or sets the length of the assessment section. - /// - public double SectionLength { get; set; } - - /// /// Gets the 'N' parameter used to factor in the 'length effect'. /// - public double N - { - get - { - return Math.Max(1, SectionLength / deltaL); - } - } - - /// - /// Gets the 'N' parameter used to factor in the 'length effect'. - /// /// The length of the assessment section. /// The 'N' parameter. public double GetN(double sectionLength) Index: Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Data.Test/GeneralWaveImpactAsphaltCoverInputTest.cs =================================================================== diff -u -r2a67701c6a0c6c0ee8b1a4c3c3c704834f209969 -r34676ef0dba7656c14b7a38cd4caf45a5d2fd420 --- Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Data.Test/GeneralWaveImpactAsphaltCoverInputTest.cs (.../GeneralWaveImpactAsphaltCoverInputTest.cs) (revision 2a67701c6a0c6c0ee8b1a4c3c3c704834f209969) +++ Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Data.Test/GeneralWaveImpactAsphaltCoverInputTest.cs (.../GeneralWaveImpactAsphaltCoverInputTest.cs) (revision 34676ef0dba7656c14b7a38cd4caf45a5d2fd420) @@ -1,4 +1,4 @@ -// Copyright (C) Stichting Deltares 2018. All rights reserved. +// Copyright (C) Stichting Deltares 2018. All rights reserved. // // This file is part of Ringtoets. // @@ -39,8 +39,8 @@ // Assert Assert.AreEqual(2, generalInput.DeltaL.NumberOfDecimalPlaces); Assert.AreEqual(1000.0, generalInput.DeltaL, generalInput.DeltaL.GetAccuracy()); - Assert.IsNaN(generalInput.SectionLength); - Assert.IsNaN(generalInput.N); + } + [Test] public void GetN_SectionLengthNaN_ReturnsNaN() {