Index: DamEngine/branches/DamEngine 19.3/src/Deltares.DamEngine.Calculators.Tests/DikesDesign/SurfaceLineAdapterTest.cs =================================================================== diff -u -r3736 -r3737 --- DamEngine/branches/DamEngine 19.3/src/Deltares.DamEngine.Calculators.Tests/DikesDesign/SurfaceLineAdapterTest.cs (.../DamEngine 19.3 wrong/src/Deltares.DamEngine.Calculators.Tests/DikesDesign/SurfaceLineAdapterTest.cs) (revision 3736) +++ DamEngine/branches/DamEngine 19.3/src/Deltares.DamEngine.Calculators.Tests/DikesDesign/SurfaceLineAdapterTest.cs (.../DamEngine 19.3/src/Deltares.DamEngine.Calculators.Tests/DikesDesign/SurfaceLineAdapterTest.cs) (revision 3737) @@ -42,7 +42,7 @@ [ExpectedException(typeof(ArgumentNullException))] public void ThrowsAnExceptionWhenSurfaceLineIsNull() { - new StubSurfaceLineAdapter(null, location, 0); + new StubSurfaceLineAdapter(null, location); } [Test] @@ -61,7 +61,7 @@ surfaceLine.EnsurePoint(1, 0); surfaceLine.EnsurePoint(2, 0); surfaceLine.EnsurePoint(3, 0); - new StubSurfaceLineAdapter(surfaceLine, location, 0); + new StubSurfaceLineAdapter(surfaceLine, location); } [Test] @@ -80,7 +80,7 @@ surfaceLine1.EnsurePointOfType(0, 0, CharacteristicPointType.DikeTopAtRiver); surfaceLine1.EnsurePointOfType(0, 0, CharacteristicPointType.DikeTopAtPolder); surfaceLine1.EnsurePointOfType(0, 0, CharacteristicPointType.DikeToeAtPolder); - new StubSurfaceLineAdapter(surfaceLine1, location, 0); + new StubSurfaceLineAdapter(surfaceLine1, location); } [Test] @@ -102,7 +102,7 @@ surfaceLine1.EnsurePointOfType(p2.X, p2.Z, CharacteristicPointType.DikeTopAtRiver); surfaceLine1.EnsurePointOfType(p3.X, p3.Z, CharacteristicPointType.DikeTopAtPolder); surfaceLine1.EnsurePointOfType(p1.X, p1.Z, CharacteristicPointType.DikeToeAtPolder); - new StubSurfaceLineAdapter(surfaceLine1, location, 0); + new StubSurfaceLineAdapter(surfaceLine1, location); } [Test] @@ -128,13 +128,13 @@ surfaceLine1.EnsurePointOfType(p4.X, p4.Z, CharacteristicPointType.ShoulderBaseInside); surfaceLine1.EnsurePointOfType(p5.X, p5.Z, CharacteristicPointType.ShoulderTopInside); surfaceLine1.EnsurePointOfType(p1.X, p1.Z, CharacteristicPointType.DikeToeAtPolder); - new StubSurfaceLineAdapter(surfaceLine1, location, 0); + new StubSurfaceLineAdapter(surfaceLine1, location); } class StubSurfaceLineAdapter : SurfaceLineAdapter { - public StubSurfaceLineAdapter(SurfaceLine2 surfaceLine, Location location, double scenarioPolderLevel) - : base(surfaceLine, location, scenarioPolderLevel) + public StubSurfaceLineAdapter(SurfaceLine2 surfaceLine, Location location) + : base(surfaceLine, location) { } }