Index: Ringtoets/Piping/test/Ringtoets.Piping.Primitives.Test/RingtoetsPipingSurfaceLineTest.cs =================================================================== diff -u -rec27d9f02dc27c2829ed45788fae7d5923d63d3d -r25772ddfd0a02f2fb7633bf69d114106900f5bb0 --- Ringtoets/Piping/test/Ringtoets.Piping.Primitives.Test/RingtoetsPipingSurfaceLineTest.cs (.../RingtoetsPipingSurfaceLineTest.cs) (revision ec27d9f02dc27c2829ed45788fae7d5923d63d3d) +++ Ringtoets/Piping/test/Ringtoets.Piping.Primitives.Test/RingtoetsPipingSurfaceLineTest.cs (.../RingtoetsPipingSurfaceLineTest.cs) (revision 25772ddfd0a02f2fb7633bf69d114106900f5bb0) @@ -159,7 +159,7 @@ } [Test] - public void GetZAtL_GeometryIsEmpty_ThrowInvalidOperationException() + public void GetZAtL_GeometryIsEmpty_ThrowsInvalidOperationException() { // Setup var surfaceLine = new RingtoetsPipingSurfaceLine(); @@ -201,7 +201,7 @@ [TestCase(-5e-3)] [TestCase(3.1 + 5e-3)] [TestCase(4.0)] - public void GetZAtL_SurfaceLineDoesNotContainsPointAtL_ThrowsArgumentOutOfRange(double l) + public void GetZAtL_SurfaceLineDoesNotContainsPointAtL_ThrowsArgumentOutOfRangeException(double l) { // Setup double testZ = new Random(22).NextDouble(); @@ -474,7 +474,7 @@ } [Test] - public void Equal_SameReference_ReturnsTrue() + public void Equals_SameReference_ReturnsTrue() { // Setup var surfaceLineOne = new RingtoetsPipingSurfaceLine(); @@ -752,14 +752,6 @@ Assert.AreEqual(hashCodeOne, hashCodeTwo); } - private class TestSurfaceLine : RingtoetsPipingSurfaceLine - { - public TestSurfaceLine(RingtoetsPipingSurfaceLine profile) - { - CopyProperties(profile); - } - } - public abstract class SetCharacteristicPointTest { [Test] @@ -930,6 +922,14 @@ } } + private class TestSurfaceLine : RingtoetsPipingSurfaceLine + { + public TestSurfaceLine(RingtoetsPipingSurfaceLine profile) + { + CopyProperties(profile); + } + } + private static RingtoetsPipingSurfaceLine CreateSurfaceLineWithCharacteristicPoints() { var surfaceLine = new RingtoetsPipingSurfaceLine