Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/TestHydraulicBoundaryLocation.cs
===================================================================
diff -u -rcfc1ad28f543ae8ee0cb46ebb2767dc15de4493c -r421965c6cc8249febf0a72677c75d49a39078893
--- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/TestHydraulicBoundaryLocation.cs (.../TestHydraulicBoundaryLocation.cs) (revision cfc1ad28f543ae8ee0cb46ebb2767dc15de4493c)
+++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/TestHydraulicBoundaryLocation.cs (.../TestHydraulicBoundaryLocation.cs) (revision 421965c6cc8249febf0a72677c75d49a39078893)
@@ -32,71 +32,13 @@
///
/// Creates a new instance of .
///
- public TestHydraulicBoundaryLocation() : this(null, null) {}
+ public TestHydraulicBoundaryLocation() : this(string.Empty) {}
///
/// Creates a new instance of
/// with the given name.
///
/// The name for the .
public TestHydraulicBoundaryLocation(string name) : base(0, name, 0, 0) {}
-
- ///
- /// Creates a new instance of with
- /// set.
- ///
- /// The design water level result to set in the output.
- /// The wave height result to set in the output.
- private TestHydraulicBoundaryLocation(double? designWaterLevel, double? waveHeight)
- : this(string.Empty)
- {
- if (designWaterLevel.HasValue)
- {
- DesignWaterLevelCalculation1.Output = new HydraulicBoundaryLocationOutput(
- designWaterLevel.Value, 0, 0, 0, 0, CalculationConvergence.CalculatedConverged, null);
- }
-
- if (waveHeight.HasValue)
- {
- WaveHeightCalculation1.Output = new HydraulicBoundaryLocationOutput(
- waveHeight.Value, 0, 0, 0, 0, CalculationConvergence.CalculatedConverged, null);
- }
- }
-
- ///
- /// Creates a new instance of with
- /// set for
- ///
- /// and .
- ///
- /// A new .
- public static TestHydraulicBoundaryLocation CreateFullyCalculated()
- {
- return new TestHydraulicBoundaryLocation(4.5, 5.5);
- }
-
- ///
- /// Creates a new instance of with
- /// set for
- /// .
- ///
- /// The design water level result to set in the output.
- /// A new .
- public static TestHydraulicBoundaryLocation CreateDesignWaterLevelCalculated(double designWaterLevel)
- {
- return new TestHydraulicBoundaryLocation(designWaterLevel, null);
- }
-
- ///
- /// Creates a new instance of with
- /// set for
- /// .
- ///
- /// The wave height result to set in the output.
- /// A new .
- public static TestHydraulicBoundaryLocation CreateWaveHeightCalculated(double waveHeight)
- {
- return new TestHydraulicBoundaryLocation(null, waveHeight);
- }
}
}
\ No newline at end of file