public void Create_SurfaceLineWithMultipleCharacteristicTypesForOnePoint_CreateSurfaceLineWithPointsForEachType()
        {
            // Setup
            const string name        = "Surface line without points";
            var          point       = new Point3D(1.0, 1.0, 2.2);
            var          surfaceLine = new PipingSurfaceLine(name);

            surfaceLine.SetGeometry(new[]
            {
                point
            });
            surfaceLine.SetDikeToeAtRiverAt(point);
            surfaceLine.SetDikeToeAtPolderAt(point);
            surfaceLine.SetDitchDikeSideAt(point);
            surfaceLine.SetBottomDitchPolderSideAt(point);
            surfaceLine.SetBottomDitchDikeSideAt(point);
            surfaceLine.SetDitchPolderSideAt(point);

            // Call
            Deltares.WTIPiping.PipingSurfaceLine actual = PipingSurfaceLineCreator.Create(surfaceLine);

            // Assert
            Assert.AreEqual(name, actual.Name);
            Assert.AreEqual(5, actual.Points.Count);
            AssertPointsAreEqual(new Point3D(0.0, 0.0, 2.2), actual.DikeToeAtPolder);
            AssertPointsAreEqual(new Point3D(0.0, 0.0, 2.2), actual.DitchDikeSide);
            AssertPointsAreEqual(new Point3D(0.0, 0.0, 2.2), actual.BottomDitchPolderSide);
            AssertPointsAreEqual(new Point3D(0.0, 0.0, 2.2), actual.BottomDitchDikeSide);
            AssertPointsAreEqual(new Point3D(0.0, 0.0, 2.2), actual.DitchPolderSide);
        }
        public void Create_SurfaceLineWithBottomPolderDikeSide_CreateSurfaceLineWithBottomDitchPolderSideSet()
        {
            // Setup
            const string name        = "Surface line without points";
            var          point       = new Point3D(1.0, 1.0, 2.2);
            var          surfaceLine = new PipingSurfaceLine(name);

            surfaceLine.SetGeometry(new[]
            {
                point
            });
            surfaceLine.SetBottomDitchPolderSideAt(point);

            // Call
            Deltares.WTIPiping.PipingSurfaceLine actual = PipingSurfaceLineCreator.Create(surfaceLine);

            // Assert
            Assert.AreEqual(name, actual.Name);
            Assert.AreEqual(1, actual.Points.Count);
            AssertPointsAreEqual(new Point3D(0.0, 0.0, 2.2), actual.BottomDitchPolderSide);
        }