MCPcopy
hub / github.com/django/django / test_point_reverse

Method test_point_reverse

tests/gis_tests/geos_tests/test_geos.py:418–422  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

416 prev = pnt # setting the previous geometry
417
418 def test_point_reverse(self):
419 point = GEOSGeometry("POINT(144.963 -37.8143)", 4326)
420 self.assertEqual(point.srid, 4326)
421 point.reverse()
422 self.assertEqual(point.ewkt, "SRID=4326;POINT (-37.8143 144.963)")
423
424 def test_multipoints(self):
425 "Testing MultiPoint objects."

Callers

nothing calls this directly

Calls 2

GEOSGeometryClass · 0.90
reverseMethod · 0.45

Tested by

no test coverage detected