Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/PropertyClasses/HeightStructuresInputContextPropertiesTest.cs =================================================================== diff -u -rab6997b3ff1279f56b785eb00cd35526e3ce69fa -r3e3087bd9c43ca5a3910438b3c9daf0defcb09bf --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/PropertyClasses/HeightStructuresInputContextPropertiesTest.cs (.../HeightStructuresInputContextPropertiesTest.cs) (revision ab6997b3ff1279f56b785eb00cd35526e3ce69fa) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/PropertyClasses/HeightStructuresInputContextPropertiesTest.cs (.../HeightStructuresInputContextPropertiesTest.cs) (revision 3e3087bd9c43ca5a3910438b3c9daf0defcb09bf) @@ -37,6 +37,7 @@ using Ringtoets.Common.Forms.Helpers; using Ringtoets.Common.Forms.PropertyClasses; using Ringtoets.HeightStructures.Data; +using Ringtoets.HeightStructures.Data.TestUtil; using Ringtoets.HeightStructures.Forms.PresentationObjects; using Ringtoets.HeightStructures.Forms.Properties; using Ringtoets.HeightStructures.Forms.PropertyClasses; @@ -181,7 +182,7 @@ var input = new HeightStructuresInput { - HeightStructure = CreateValidHeightStructure(), + HeightStructure = new TestHeightStructure(), HydraulicBoundaryLocation = CreateValidHydraulicBoundaryLocation(), ForeshoreProfile = CreateValidForeshoreProfile() }; @@ -290,7 +291,7 @@ var random = new Random(100); double newStructureNormalOrientation = random.NextDouble(); - HeightStructure newHeightStructure = CreateValidHeightStructure(); + HeightStructure newHeightStructure = new TestHeightStructure(); ForeshoreProfile newForeshoreProfile = CreateValidForeshoreProfile(); double newDeviationWaveDirection = random.NextDouble(); @@ -540,19 +541,6 @@ return new HydraulicBoundaryLocation(0, "name", 0.0, 1.1); } - private static HeightStructure CreateValidHeightStructure() - { - return new HeightStructure("aName", "anId", new Point2D(1, 1), - 0.12345, - 234.567, 0.23456, - 345.678, 0.34567, - 456.789, 0.45678, - 567.890, 0.56789, - 0.67890, - 112.223, 0.11222, - 225.336, 0.22533); - } - private static void AssertDistributionProperties(DistributionPropertiesBase expected, DistributionPropertiesBase actual) where T : IDistribution { Assert.AreEqual(expected.DistributionType, actual.DistributionType);