Index: Ringtoets/Common/test/Ringtoets.Common.Data.Test/StructureBaseTest.cs =================================================================== diff -u -rfca049745871c8352ef2968048fdc0cca0c647e0 -r396f21603d742cdfb0e92817e5fd0b4df1e9f851 --- Ringtoets/Common/test/Ringtoets.Common.Data.Test/StructureBaseTest.cs (.../StructureBaseTest.cs) (revision fca049745871c8352ef2968048fdc0cca0c647e0) +++ Ringtoets/Common/test/Ringtoets.Common.Data.Test/StructureBaseTest.cs (.../StructureBaseTest.cs) (revision 396f21603d742cdfb0e92817e5fd0b4df1e9f851) @@ -23,6 +23,7 @@ using Core.Common.Base.Geometry; using Core.Common.TestUtil; using NUnit.Framework; +using Ringtoets.Common.Data.TestUtil; namespace Ringtoets.Common.Data.Test { @@ -73,16 +74,20 @@ { // Setup var location = new Point2D(1.22, 2.333); + const double structureNormalOrientation = 0.0; // Call - var structure = new TestStructure("aName", "anId", location, 0.0); + var structure = new TestStructure("aName", "anId", location, structureNormalOrientation); // Assert Assert.AreEqual("aName", structure.Name); Assert.AreEqual("anId", structure.Id); Assert.AreEqual(location.X, structure.Location.X); Assert.AreEqual(location.Y, structure.Location.Y); Assert.AreEqual("aName", structure.ToString()); + Assert.AreEqual(2, structure.StructureNormalOrientation.NumberOfDecimalPlaces); + Assert.AreEqual(structureNormalOrientation, structure.StructureNormalOrientation, + structure.StructureNormalOrientation.GetAccuracy()); } private class TestStructure : StructureBase