Index: Ringtoets/Common/test/Ringtoets.Common.Data.Test/Structures/StructuresCalculationTest.cs =================================================================== diff -u -ra1660e4c72d2ba7a6c97dff29ca732ee292af5f4 -r0e2d1a46c627af6d19cdf21dff840716bac84045 --- Ringtoets/Common/test/Ringtoets.Common.Data.Test/Structures/StructuresCalculationTest.cs (.../StructuresCalculationTest.cs) (revision a1660e4c72d2ba7a6c97dff29ca732ee292af5f4) +++ Ringtoets/Common/test/Ringtoets.Common.Data.Test/Structures/StructuresCalculationTest.cs (.../StructuresCalculationTest.cs) (revision 0e2d1a46c627af6d19cdf21dff840716bac84045) @@ -203,19 +203,22 @@ private static IEnumerable GetCalculations() { + var outputWithoutGeneralResult = new TestStructuresOutput(); + var outputWithGeneralResult = new TestStructuresOutput(new TestGeneralResultFaultTreeIllustrationPoint()); + yield return new TestCaseData(new TestStructuresCalculation { InputParameters = { ShouldIllustrationPointsBeCalculated = true }, - Output = new TestStructuresOutput(new TestGeneralResultFaultTreeIllustrationPoint()) + Output = outputWithGeneralResult }, false) .SetName("OutputSufficientScenario1"); yield return new TestCaseData(new TestStructuresCalculation { - Output = new TestStructuresOutput() + Output = outputWithoutGeneralResult }, false) .SetName("OutputSufficientScenario2"); @@ -233,7 +236,7 @@ yield return new TestCaseData(new TestStructuresCalculation { - Output = new TestStructuresOutput(new TestGeneralResultFaultTreeIllustrationPoint()) + Output = outputWithGeneralResult }, true) .SetName("OutputWithRedundantGeneralResult"); @@ -243,7 +246,7 @@ { ShouldIllustrationPointsBeCalculated = true }, - Output = new TestStructuresOutput() + Output = outputWithoutGeneralResult }, true) .SetName("OutputWithMissingGeneralResult"); }