Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRows/MacrostabilityOutwardsSectionResultRowTest.cs =================================================================== diff -u -r4550874ecf6de10bb429ddf8edb1b7542a980252 -r974fb1eadbd8a630c7a992648ad42ac85ec205b1 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRows/MacrostabilityOutwardsSectionResultRowTest.cs (.../MacrostabilityOutwardsSectionResultRowTest.cs) (revision 4550874ecf6de10bb429ddf8edb1b7542a980252) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRows/MacrostabilityOutwardsSectionResultRowTest.cs (.../MacrostabilityOutwardsSectionResultRowTest.cs) (revision 974fb1eadbd8a630c7a992648ad42ac85ec205b1) @@ -30,8 +30,6 @@ using Ringtoets.Common.Forms.Views; using Ringtoets.Integration.Data.StandAlone.SectionResults; using Ringtoets.Integration.Forms.Views.SectionResultRows; -using CoreCommonBaseResources = Core.Common.Base.Properties.Resources; -using RingtoetsCommonDataResources = Ringtoets.Common.Data.Properties.Resources; namespace Ringtoets.Integration.Forms.Test.Views.SectionResultRows { @@ -68,17 +66,18 @@ Assert.IsTrue(TypeUtils.HasTypeConverter( - r => r.AssessmentLayerTwoA)); + r => r.AssessmentLayerTwoA)); Assert.IsTrue(TypeUtils.HasTypeConverter( - r => r.AssessmentLayerThree)); + r => r.AssessmentLayerThree)); } [Test] [TestCase(0)] [TestCase(1)] [TestCase(0.5)] [TestCase(1e-6)] + [TestCase(double.NaN)] public void AssessmentLayerTwoA_ForValidValues_ResultPropertyChanged(double value) { // Setup @@ -94,6 +93,7 @@ } [Test] + [SetCulture("nl-NL")] [TestCase(-20)] [TestCase(-1e-6)] [TestCase(1 + 1e-6)] @@ -110,8 +110,8 @@ // Assert var message = Assert.Throws(test).Message; - Assert.AreEqual(RingtoetsCommonDataResources.ArbitraryProbabilityFailureMechanismSectionResult_AssessmentLayerTwoA_Value_needs_to_be_between_0_and_1, - message); + const string expectedMessage = "De waarde voor de faalkans moet in het bereik [0,0, 1,0] liggen."; + Assert.AreEqual(expectedMessage, message); } [Test]