Index: Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Forms.TestUtil/DuneErosionMapFeaturesTestHelper.cs =================================================================== diff -u -r89931b99566016e46b0f5389b0d92168d303b1c1 -re9ffbddef7cf414f44668847e1610cecc9429fb7 --- Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Forms.TestUtil/DuneErosionMapFeaturesTestHelper.cs (.../DuneErosionMapFeaturesTestHelper.cs) (revision 89931b99566016e46b0f5389b0d92168d303b1c1) +++ Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Forms.TestUtil/DuneErosionMapFeaturesTestHelper.cs (.../DuneErosionMapFeaturesTestHelper.cs) (revision e9ffbddef7cf414f44668847e1610cecc9429fb7) @@ -31,7 +31,7 @@ namespace Ringtoets.DuneErosion.Forms.TestUtil { /// - /// Class that can be used to test properties of a + /// Class that can be used to test properties of a . /// public static class DuneErosionMapFeaturesTestHelper { @@ -40,6 +40,7 @@ /// dune locations and calculations in . /// /// The failure mechanism that contains the first part of the original data. + /// The collection of to assert. /// Thrown when: /// /// the number of dune locations and features are not the same; @@ -64,8 +65,9 @@ Assert.AreEqual(expectedDuneLocation.Id, mapFeature.MetaData["ID"]); Assert.AreEqual(expectedDuneLocation.Name, mapFeature.MetaData["Naam"]); Assert.AreEqual(expectedDuneLocation.CoastalAreaId, mapFeature.MetaData["Kustvaknummer"]); - Assert.AreEqual(expectedDuneLocation.Offset.ToString("0.#", CultureInfo.InvariantCulture), mapFeature.MetaData["Metrering"]); + Assert.AreEqual(expectedDuneLocation.Offset.ToString("0.#", CultureInfo.CurrentCulture), mapFeature.MetaData["Metrering"]); Assert.AreEqual(expectedDuneLocation.Location, mapFeature.MapGeometries.First().PointCollections.First().Single()); + MapFeaturesMetaDataTestHelper.AssertMetaData(expectedDuneLocation.D50.ToString(), mapFeature, "Rekenwaarde d50"); MapFeaturesMetaDataTestHelper.AssertMetaData( GetExpectedWaterLevel(failureMechanism.CalculationsForMechanismSpecificFactorizedSignalingNorm, expectedDuneLocation), @@ -115,7 +117,7 @@ GetExpectedWavePeriod(failureMechanism.CalculationsForFactorizedLowerLimitNorm, expectedDuneLocation), mapFeature, "Rekenwaarde Tp(Vv->VIv)"); - Assert.AreEqual(19, mapFeature.MetaData.Keys.Count); + Assert.AreEqual(20, mapFeature.MetaData.Keys.Count); } }