Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/Views/HeightStructuresFailureMechanismSectionResultRowTest.cs =================================================================== diff -u -r4bf59bb3506b840b284efe0c0f4431b7876e0e5b -r71d8173532c9c038e25caf03e296beb8e8f9cbe8 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/Views/HeightStructuresFailureMechanismSectionResultRowTest.cs (.../HeightStructuresFailureMechanismSectionResultRowTest.cs) (revision 4bf59bb3506b840b284efe0c0f4431b7876e0e5b) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/Views/HeightStructuresFailureMechanismSectionResultRowTest.cs (.../HeightStructuresFailureMechanismSectionResultRowTest.cs) (revision 71d8173532c9c038e25caf03e296beb8e8f9cbe8) @@ -81,7 +81,7 @@ var calculation = new StructuresCalculation(); if (status == CalculationScenarioStatus.Failed) { - calculation.Output = new ProbabilityAssessmentOutput(0.9, 1.0, double.NaN, 1.0, 1.0); + calculation.Output = new StructuresOutput(new ProbabilityAssessmentOutput(0.9, 1.0, double.NaN, 1.0, 1.0)); } FailureMechanismSection section = CreateSection(); @@ -103,9 +103,10 @@ public void AssessmentLayerTwoA_CalculationSuccessful_ReturnAssessmentLayerTwoA() { // Setup + var probabilityAssessmentOutput = new ProbabilityAssessmentOutput(0.9, 1.0, 0.95, 1.0, 1.0); var calculation = new StructuresCalculation { - Output = new ProbabilityAssessmentOutput(0.9, 1.0, 0.95, 1.0, 1.0) + Output = new StructuresOutput(probabilityAssessmentOutput) }; FailureMechanismSection section = CreateSection(); @@ -120,7 +121,7 @@ double assessmentLayerTwoA = resultRow.AssessmentLayerTwoA; // Assert - Assert.AreEqual(calculation.Output.Probability, assessmentLayerTwoA); + Assert.AreEqual(probabilityAssessmentOutput.Probability, assessmentLayerTwoA); } [Test]