Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/Views/HeightStructuresFailureMechanismResultViewTest.cs =================================================================== diff -u -r4bf59bb3506b840b284efe0c0f4431b7876e0e5b -r71d8173532c9c038e25caf03e296beb8e8f9cbe8 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/Views/HeightStructuresFailureMechanismResultViewTest.cs (.../HeightStructuresFailureMechanismResultViewTest.cs) (revision 4bf59bb3506b840b284efe0c0f4431b7876e0e5b) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/Views/HeightStructuresFailureMechanismResultViewTest.cs (.../HeightStructuresFailureMechanismResultViewTest.cs) (revision 71d8173532c9c038e25caf03e296beb8e8f9cbe8) @@ -348,7 +348,7 @@ { var calculation = new StructuresCalculation { - Output = new ProbabilityAssessmentOutput(1.0, 1.0, double.NaN, 1.0, 1.0) + Output = new StructuresOutput(new ProbabilityAssessmentOutput(1.0, 1.0, double.NaN, 1.0, 1.0)) }; FailureMechanismSection section = CreateSimpleFailureMechanismSection(); var sectionResult = new HeightStructuresFailureMechanismSectionResult(section) @@ -387,7 +387,7 @@ const double probability = 0.56789; var calculation = new StructuresCalculation { - Output = new ProbabilityAssessmentOutput(1.0, 1.0, probability, 1.0, 1.0) + Output = new StructuresOutput(new ProbabilityAssessmentOutput(1.0, 1.0, probability, 1.0, 1.0)) }; FailureMechanismSection section = CreateSimpleFailureMechanismSection(); var sectionResult = new HeightStructuresFailureMechanismSectionResult(section) @@ -453,12 +453,12 @@ const double probability = 0.56789; var successfulCalculation = new StructuresCalculation { - Output = new ProbabilityAssessmentOutput(1.0, 1.0, probability, 1.0, 1.0) + Output = new StructuresOutput(new ProbabilityAssessmentOutput(1.0, 1.0, probability, 1.0, 1.0)) }; var failedCalculation = new StructuresCalculation { - Output = new ProbabilityAssessmentOutput(1.0, 1.0, double.NaN, 1.0, 1.0) + Output = new StructuresOutput(new ProbabilityAssessmentOutput(1.0, 1.0, double.NaN, 1.0, 1.0)) }; FailureMechanismSection section = CreateSimpleFailureMechanismSection(); var sectionResult = new HeightStructuresFailureMechanismSectionResult(section) @@ -511,15 +511,15 @@ AssessmentLayerOne = AssessmentLayerOneState.Sufficient, Calculation = new StructuresCalculation { - Output = new ProbabilityAssessmentOutput(1.0, 1.0, double.NaN, 1.0, 1.0) + Output = new StructuresOutput(new ProbabilityAssessmentOutput(1.0, 1.0, double.NaN, 1.0, 1.0)) } }, "-").SetName("SectionWithInvalidCalculationOutput"); yield return new TestCaseData(new HeightStructuresFailureMechanismSectionResult(section) { AssessmentLayerOne = AssessmentLayerOneState.Sufficient, Calculation = new StructuresCalculation { - Output = new ProbabilityAssessmentOutput(1.0, 1.0, probability, 1.0, 1.0) + Output = new StructuresOutput(new ProbabilityAssessmentOutput(1.0, 1.0, probability, 1.0, 1.0)) } }, ProbabilityFormattingHelper.Format(probability)).SetName("SectionWithValidCalculationOutput"); }