Exemple #1
0
        public void TestMultiPoint_Empty()
        {
            var g = new MultiPoint {
                Coordinates = new List <Coordinate>()
            };
            string expected = "MULTIPOINT EMPTY";
            string actual   = g.ToWkt();

            Assert.AreEqual(expected, actual);
        }
Exemple #2
0
        public void TestMultiPoint_ToWkt()
        {
            var g = new MultiPoint {
                Coordinates = new List <Coordinate> {
                    new Point(), new Point()
                }
            };
            string expected = "MULTIPOINT (0 0,0 0)";
            string actual   = g.ToWkt();

            Assert.AreEqual(expected, actual);
        }