Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsFailureMechanismSectionResultRowTest.cs =================================================================== diff -u -r650fc7b43cb6729baee51d079f0377df8d7a3de9 -r0aacf2dc29138c69f365fe26a143d4e83b172dbe --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsFailureMechanismSectionResultRowTest.cs (.../MacroStabilityInwardsFailureMechanismSectionResultRowTest.cs) (revision 650fc7b43cb6729baee51d079f0377df8d7a3de9) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsFailureMechanismSectionResultRowTest.cs (.../MacroStabilityInwardsFailureMechanismSectionResultRowTest.cs) (revision 0aacf2dc29138c69f365fe26a143d4e83b172dbe) @@ -53,6 +53,8 @@ Assert.AreEqual(result.GetAssessmentLayerTwoA(Enumerable.Empty()), row.AssessmentLayerTwoA); TestHelper.AssertTypeConverter( nameof(MacroStabilityInwardsFailureMechanismSectionResultRow.AssessmentLayerTwoA)); + TestHelper.AssertTypeConverter( + nameof(MacroStabilityInwardsFailureMechanismSectionResultRow.AssessmentLayerThree)); } [Test] @@ -164,6 +166,24 @@ Assert.AreEqual(expected, assessmentLayerTwoA, 1e-6); } + [Test] + public void AssessmentLayerThree_ValueSet_ReturnExpectedValue() + { + // Setup + var random = new Random(21); + RoundedDouble assessmentLayerThree = random.NextRoundedDouble(); + + var sectionResult = new MacroStabilityInwardsFailureMechanismSectionResult(CreateSection()); + var row = new MacroStabilityInwardsFailureMechanismSectionResultRow(sectionResult, + Enumerable.Empty()); + + // Call + row.AssessmentLayerThree = assessmentLayerThree; + + // Assert + Assert.AreEqual(assessmentLayerThree, sectionResult.AssessmentLayerThree); + } + private static FailureMechanismSection CreateSection() { return new FailureMechanismSection("name", new[]