Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PropertyClasses/ReferenceLinePropertiesTest.cs =================================================================== diff -u -r16a0e2a1a7df8a5fe4548b9c8839a44f4b871c0b -rbb7246a859710e284b10c855848be97b8bc0b463 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PropertyClasses/ReferenceLinePropertiesTest.cs (.../ReferenceLinePropertiesTest.cs) (revision 16a0e2a1a7df8a5fe4548b9c8839a44f4b871c0b) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PropertyClasses/ReferenceLinePropertiesTest.cs (.../ReferenceLinePropertiesTest.cs) (revision bb7246a859710e284b10c855848be97b8bc0b463) @@ -28,6 +28,7 @@ using Core.Common.TestUtil; using NUnit.Framework; using Ringtoets.Common.Data.AssessmentSection; +using Ringtoets.Common.Data.TestUtil; using Ringtoets.Integration.Forms.PropertyClasses; namespace Ringtoets.Integration.Forms.Test.PropertyClasses @@ -79,7 +80,8 @@ var properties = new ReferenceLineProperties(referenceLine); // Call & Assert - Assert.AreEqual(referenceLine.Length, properties.Length); + Assert.AreEqual(2, properties.Length.NumberOfDecimalPlaces); + Assert.AreEqual(referenceLine.Length, properties.Length, properties.Length.GetAccuracy()); CollectionAssert.AreEqual(geometry, properties.Geometry); } @@ -99,8 +101,8 @@ PropertyDescriptor lengthProperty = dynamicProperties[0]; PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(lengthProperty, generalCategoryName, - "Lengte [m]", - "Totale lengte van het traject in meters.", + "Lengte* [m]", + "Totale lengte van het traject in meters (afgerond).", true); PropertyDescriptor geometryProperty = dynamicProperties[1];