public void DeepCopy_MultiPoint3D_SamePoint()
        {
            MultiPoint         expected = new MultiPoint(new [] { new Point(6, 7, 8), new Point(19, 10, 11) });
            OracleGeometryType OGT      = new OracleGeometryType();
            var result = (MultiPoint)OGT.DeepCopy(expected);

            Assert.AreEqual(expected.ToText(), result.ToText());
        }
        public void DeepCopy_Point3D_SamePoint()
        {
            Point expected         = new Point(6, 7, 8);
            OracleGeometryType OGT = new OracleGeometryType();
            var result             = (Point)OGT.DeepCopy(expected);

            Assert.AreEqual(expected, result);
        }
        public void DeepCopy_MultiLine3D_SameLine()
        {
            var wktReader          = new WKTReader();
            var expected           = wktReader.Read("MULTILINESTRING((3 4 5,10 50 7,20 25 8),(1 1 5,11 15 7,23 2 8))");
            OracleGeometryType OGT = new OracleGeometryType();
            var result             = OGT.DeepCopy(expected);

            Assert.AreEqual(expected.ToString(), result.ToString());
        }
        public void DeepCopy_Line3D_SameLine()
        {
            var wktReader          = new WKTReader();
            var expected           = wktReader.Read("LINESTRING(3 4 5,10 50 7,20 25 8)");
            OracleGeometryType OGT = new OracleGeometryType();
            var result             = OGT.DeepCopy(expected);

            Assert.AreEqual(expected, result);
        }
        public void DeepCopy_SimpleMultiPolygon3D_SamePolygon()
        {
            var wktReader          = new WKTReader();
            var expected           = wktReader.Read("MULTIPOLYGON(((1 1 3,5 1 3,5 5 3,1 5 3,1 1 3)),((6 3 5,9 2 6,9 4 8,6 3 5)))");
            OracleGeometryType OGT = new OracleGeometryType();
            var result             = OGT.DeepCopy(expected);

            Assert.AreEqual(expected.ToString(), result.ToString());
        }
        public void DeepCopy_SimplePolygon3D_SamePolygon()
        {
            var wktReader          = new WKTReader();
            var expected           = wktReader.Read("POLYGON ((2 2 5,2 3 5,3 3 5,3 2 5,2 2 5))");
            OracleGeometryType OGT = new OracleGeometryType();
            var result             = OGT.DeepCopy(expected);

            Assert.AreEqual(expected, result);
        }
        public void DeepCopy_ComplexMultiPolygon3D_SamePolygon()
        {
            var wktReader = new WKTReader();
            var expected  = wktReader.Read("MULTIPOLYGON(((1 1 5,5 1 5,5 5 5,1 5 5,1 1 5),(2 2 5,2 3 5,3 3 5,3 2 5,2 2 5)),((6 3 5,9 2 5,9 4 5,6 3 5)))");

            OracleGeometryType OGT = new OracleGeometryType();
            var result             = OGT.DeepCopy(expected);

            Assert.AreEqual(expected.ToString(), result.ToString());
        }
        public void DeepCopy_ComplexPolygon2D_SamePolygon()
        {
            var wktReader = new WKTReader();
            var expected  = wktReader.Read("POLYGON((1 1,5 1,5 5,1 5,1 1),(2 2,2 3,3 3,3 2,2 2))");

            OracleGeometryType OGT = new OracleGeometryType();
            var result             = OGT.DeepCopy(expected);

            Assert.AreEqual(expected, result);
        }