예제 #1
0
        public void test_MultiLineString()
        {
            string wkt    = "MULTILINESTRING((40 60, 40 320, 420 320, 420 60, 40 60),(20 30, 30 40))";
            bool   result = ReaderWriterTestHelper.TestHelper(wkt);

            Assertion.AssertEquals("MultiLineString: ", true, result);
        }
예제 #2
0
        public void test_MultiPoint()
        {
            string wkt    = "MULTIPOINT(40 60, 40 320, 420 320, 420 60, 40 60)";
            bool   result = ReaderWriterTestHelper.TestHelper(wkt);

            Assertion.AssertEquals("MultiPoint: ", true, result);
        }
예제 #3
0
        public void test_Polygon()
        {
            string wkt    = "POLYGON((40 60, 40 320, 420 320, 420 60, 40 60))";
            bool   result = ReaderWriterTestHelper.TestHelper(wkt);

            Assertion.AssertEquals("Polygon: ", true, result);
        }
예제 #4
0
        public void test_Linestring()
        {
            string wkt    = "LINESTRING(40 60, 40 320, 420 320, 420 60, 40 60)";
            bool   result = ReaderWriterTestHelper.TestHelper(wkt);

            Assertion.AssertEquals("Linestring: ", true, result);
        }
예제 #5
0
        public void test_Point()
        {
            string wkt    = "POINT(40 60)";
            bool   result = ReaderWriterTestHelper.TestHelper(wkt);

            Assertion.AssertEquals("Point: ", true, result);
        }
예제 #6
0
        public void test_MultiPolygon()
        {
            string wkt    = "MULTIPOLYGON(((10 13, 11 13, 12 13, 13 14, 14 15, 15 16, 15 17, 15 18, 14 19, 13 20, 12 21, 11 21, 10 21, 9 20, 8 19, 7 18, 7 17, 7 16, 8 15, 9 14, 10 13),(10 16, 11 17, 10 18, 9 17, 10 16)),((13 16, 14 17, 13 18, 12 17, 13 16)))";
            bool   result = ReaderWriterTestHelper.TestHelper(wkt);

            Assertion.AssertEquals("MultiPolygon: ", true, result);
        }