Index: Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/AssessmentSectionTest.cs =================================================================== diff -u -r4b37694736a8ccec603ce7f9b71e6c095186b25d -r2679bee7a95ab50b5a5f2433cfce8ca2ce0cd9b6 --- Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/AssessmentSectionTest.cs (.../AssessmentSectionTest.cs) (revision 4b37694736a8ccec603ce7f9b71e6c095186b25d) +++ Ringtoets/Integration/test/Ringtoets.Integration.Data.Test/AssessmentSectionTest.cs (.../AssessmentSectionTest.cs) (revision 2679bee7a95ab50b5a5f2433cfce8ca2ce0cd9b6) @@ -99,8 +99,6 @@ AssertExpectedContributions(composition, assessmentSection); - Assert.AreEqual(double.NaN, assessmentSection.WaveImpactAsphaltCover.GeneralWaveImpactAsphaltCoverInput.SectionLength); - Assert.IsTrue(assessmentSection.BackgroundData.IsVisible); Assert.AreEqual(0.0, assessmentSection.BackgroundData.Transparency.Value); Assert.AreEqual("Bing Maps - Satelliet", assessmentSection.BackgroundData.Name); @@ -366,44 +364,6 @@ } [Test] - public void ReferenceLine_SomeReferenceLine_RelevantGeneralInputSectionLengthSet() - { - // Setup - var random = new Random(21); - var assessmentSection = new AssessmentSection(random.NextEnumValue()); - var referenceLine = new ReferenceLine(); - - Point2D[] somePointsCollection = - { - new Point2D(random.NextDouble(), random.NextDouble()), - new Point2D(random.NextDouble(), random.NextDouble()), - new Point2D(random.NextDouble(), random.NextDouble()), - new Point2D(random.NextDouble(), random.NextDouble()) - }; - referenceLine.SetGeometry(somePointsCollection); - - // Call - assessmentSection.ReferenceLine = referenceLine; - - // Assert - Assert.AreEqual(referenceLine.Length, assessmentSection.WaveImpactAsphaltCover.GeneralWaveImpactAsphaltCoverInput.SectionLength); - } - - [Test] - public void ReferenceLine_Null_RelevantGeneralInputSectionLengthNaN() - { - // Setup - var random = new Random(21); - var assessmentSection = new AssessmentSection(random.NextEnumValue()); - - // Call - assessmentSection.ReferenceLine = null; - - // Assert - Assert.AreEqual(double.NaN, assessmentSection.WaveImpactAsphaltCover.GeneralWaveImpactAsphaltCoverInput.SectionLength); - } - - [Test] public void SetHydraulicBoundaryLocationCalculations_HydraulicBoundaryLocationsNull_ThrowsArgumentNullException() { // Setup