diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/gis_tests/geos_tests/test_geos.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/gis_tests/geos_tests/test_geos.py b/tests/gis_tests/geos_tests/test_geos.py index 8a82c16170..544bd3f48f 100644 --- a/tests/gis_tests/geos_tests/test_geos.py +++ b/tests/gis_tests/geos_tests/test_geos.py @@ -1331,6 +1331,11 @@ class GEOSTest(SimpleTestCase, TestDataMixin): ), ) + def test_normalize(self): + g = MultiPoint(Point(0, 0), Point(2, 2), Point(1, 1)) + self.assertIsNone(g.normalize()) + self.assertTrue(g.equals_exact(MultiPoint(Point(2, 2), Point(1, 1), Point(0, 0)))) + @ignore_warnings(category=RemovedInDjango20Warning) def test_deprecated_srid_getters_setters(self): p = Point(1, 2, srid=123) |
