Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsFailureMechanismContextTreeNodeInfoTest.cs =================================================================== diff -u -rb3dea6d08961dd57169f6275342311ab662a5d0f -r9c6adbc6cf5e2148f53c01a38b2d4019b15e56cd --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsFailureMechanismContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsFailureMechanismContextTreeNodeInfoTest.cs) (revision b3dea6d08961dd57169f6275342311ab662a5d0f) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsFailureMechanismContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsFailureMechanismContextTreeNodeInfoTest.cs) (revision 9c6adbc6cf5e2148f53c01a38b2d4019b15e56cd) @@ -52,6 +52,7 @@ using Ringtoets.GrassCoverErosionOutwards.Forms.PresentationObjects; using Ringtoets.HydraRing.Calculation.Calculator.Factory; using Ringtoets.HydraRing.Calculation.TestUtil.Calculator; +using Ringtoets.Revetment.Data; using RingtoetsCommonFormsResources = Ringtoets.Common.Forms.Properties.Resources; namespace Ringtoets.GrassCoverErosionOutwards.Plugin.Test.TreeNodeInfos @@ -518,7 +519,6 @@ } [Test] - [SetCulture("nl-NL")] public void GivenGrassCoverErosionCalculationsThatSucceed_WhenCalculatingAllFromContextMenu_ThenAllCalculationsScheduled() { // Given @@ -623,17 +623,21 @@ CalculationServiceTestHelper.AssertValidationStartMessage(msgs.ElementAt(81)); CalculationServiceTestHelper.AssertValidationEndMessage(msgs.ElementAt(82)); CalculationServiceTestHelper.AssertCalculationStartMessage(msgs.ElementAt(83)); - AssertWaveConditionsCalculationMessages(msgs, 84, "1,99"); - AssertWaveConditionsCalculationMessages(msgs, 87, "1,50"); - AssertWaveConditionsCalculationMessages(msgs, 90, "1,00"); + + IEnumerable waterLevels = calculation.InputParameters.GetWaterLevels( + failureMechanism.WaterLevelCalculationsForMechanismSpecificFactorizedSignalingNorm.Single().Output.Result); + Assert.AreEqual(3, waterLevels.Count()); + AssertWaveConditionsCalculationMessages(msgs, 84, waterLevels.First()); + AssertWaveConditionsCalculationMessages(msgs, 87, waterLevels.ElementAt(1)); + AssertWaveConditionsCalculationMessages(msgs, 90, waterLevels.ElementAt(2)); CalculationServiceTestHelper.AssertCalculationEndMessage(msgs.ElementAt(93)); Assert.AreEqual($"Golfcondities berekenen voor '{calculation.Name}' is gelukt.", msgs.ElementAt(94)); }); } } } - private static void AssertWaveConditionsCalculationMessages(IEnumerable messages, int startIndex, string waterLevel) + private static void AssertWaveConditionsCalculationMessages(IEnumerable messages, int startIndex, RoundedDouble waterLevel) { Assert.AreEqual($"Berekening voor waterstand '{waterLevel}' is gestart.", messages.ElementAt(startIndex)); Assert.AreEqual("Golfcondities berekening is uitgevoerd op de tijdelijke locatie ''. " +