Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRows/MacrostabilityOutwardsSectionResultRowTest.cs =================================================================== diff -u -rce94b8228bc7e51779b3754217580f13cb35e475 -r9d7a5bd6246ec71a14f1944516d21e06954243f7 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRows/MacrostabilityOutwardsSectionResultRowTest.cs (.../MacrostabilityOutwardsSectionResultRowTest.cs) (revision ce94b8228bc7e51779b3754217580f13cb35e475) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRows/MacrostabilityOutwardsSectionResultRowTest.cs (.../MacrostabilityOutwardsSectionResultRowTest.cs) (revision 9d7a5bd6246ec71a14f1944516d21e06954243f7) @@ -67,7 +67,7 @@ Assert.AreEqual(result.AssessmentLayerThree, row.AssessmentLayerThree); Assert.IsTrue(TypeUtils.HasTypeConverter( + FailureMechanismSectionResultNoProbabilityValueDoubleConverter>( r => r.AssessmentLayerTwoA)); Assert.IsTrue(TypeUtils.HasTypeConverter( @@ -107,16 +107,15 @@ public void AssessmentLayerTwoA_ForValidValues_ResultPropertyChanged(double value) { // Setup - var newValue = (RoundedDouble) value; var section = CreateSection(); var result = new MacrostabilityOutwardsFailureMechanismSectionResult(section); var row = new MacrostabilityOutwardsSectionResultRow(result); // Call - row.AssessmentLayerTwoA = newValue; + row.AssessmentLayerTwoA = value; // Assert - Assert.AreEqual(newValue, row.AssessmentLayerTwoA); + Assert.AreEqual(value, row.AssessmentLayerTwoA); } [Test] @@ -127,13 +126,12 @@ public void AssessmentLayerTwoA_ForInvalidValues_ThrowsArgumentException(double value) { // Setup - var newValue = (RoundedDouble)value; var section = CreateSection(); var result = new MacrostabilityOutwardsFailureMechanismSectionResult(section); var row = new MacrostabilityOutwardsSectionResultRow(result); // Call - TestDelegate test = () => row.AssessmentLayerTwoA = newValue; + TestDelegate test = () => row.AssessmentLayerTwoA = value; // Assert var message = Assert.Throws(test).Message;