MCPcopy Create free account
hub / github.com/shapely/shapely / test_empty

Method test_empty

shapely/tests/legacy/test_transform.py:15–18  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

13 return tuple(c for c in [x, y, z] if c)
14
15 def test_empty(self):
16 g = geometry.Point()
17 h = transform(self.func, g)
18 assert h.is_empty
19
20 def test_point(self):
21 g = geometry.Point(0, 1)

Callers

nothing calls this directly

Calls 1

transformFunction · 0.90

Tested by

no test coverage detected