コード例 #1
0
        // see https://github.com/NetTopologySuite/NetTopologySuite/issues/115
        public void Issue_GH_115_CreateDataTable()
        {
            DataTable dt = null;

            Assert.DoesNotThrow(() => dt =
                                    Shapefile.CreateDataTable("Volume2", "Matt", GeometryFactory.Default));
        }
        // see https://github.com/NetTopologySuite/NetTopologySuite/issues/115
        public void Issue_GH_115_CreateDataTable()
        {
            if (!File.Exists("Matt.shp"))
            {
                throw new IgnoreException("File not found");
            }

            DataTable dt = null;

            Assert.DoesNotThrow(() => dt =
                                    Shapefile.CreateDataTable("Volume2", "Matt", GeometryFactory.Default));
        }