Index: DamEngine/trunk/src/Deltares.DamEngine.IntegrationTests/IntegrationTests/MultiCoreMacroStabilityTests.cs =================================================================== diff -u -r4914 -r4922 --- DamEngine/trunk/src/Deltares.DamEngine.IntegrationTests/IntegrationTests/MultiCoreMacroStabilityTests.cs (.../MultiCoreMacroStabilityTests.cs) (revision 4914) +++ DamEngine/trunk/src/Deltares.DamEngine.IntegrationTests/IntegrationTests/MultiCoreMacroStabilityTests.cs (.../MultiCoreMacroStabilityTests.cs) (revision 4922) @@ -225,17 +225,23 @@ if (justOneScenario) { - // This test has to make sure that the results are the same as the single core version of this test - // If the values change below, just change them. - Assert.That(output.Results.CalculationResults, Has.Length.EqualTo(9)); - Assert.That(output.Results.CalculationMessages, Has.Length.EqualTo(1762)); + Assert.Multiple(() => + { + // This test has to make sure that the results are the same as the single core version of this test + // If the values change below, just change them. + Assert.That(output.Results.CalculationResults, Has.Length.EqualTo(9)); + Assert.That(output.Results.CalculationMessages, Has.Length.EqualTo(1762)); + }); } else { - // Note that all results are based on the single core version of this test that can be found at: - // DesignBishopOptimizedSlopeAndShoulderAdaptionWithScenariosForHeadPL3CalculatesCorrect in MacroStabilityInwardsTests - Assert.That(output.Results.CalculationResults, Has.Length.EqualTo(18)); - Assert.That(output.Results.CalculationMessages, Has.Length.EqualTo(3411)); + Assert.Multiple(() => + { + // Note that all results are based on the single core version of this test that can be found at: + // DesignBishopOptimizedSlopeAndShoulderAdaptionWithScenariosForHeadPL3CalculatesCorrect in MacroStabilityInwardsTests + Assert.That(output.Results.CalculationResults, Has.Length.EqualTo(18)); + Assert.That(output.Results.CalculationMessages, Has.Length.EqualTo(3411)); + }); } int resultsFound = CheckLargeResultsSets.CheckResultsDesignBishopAdaptionWithScenariosForHeadPl3CalculatesCorrect( @@ -289,8 +295,8 @@ { // This test has to make sure that the results are the same as the single core version of this test // If the values change below, just change them. - Assert.That(output.Results.CalculationMessages.Length, Is.EqualTo(2766)); - Assert.That(output.Results.CalculationResults.Length, Is.EqualTo(646)); + Assert.That(output.Results.CalculationMessages, Has.Length.EqualTo(2766)); + Assert.That(output.Results.CalculationResults, Has.Length.EqualTo(646)); }); // This file is created in the Debug/Release folder while running this test. // If this file changes just replace it with the file that is created during the test.