mirror of
https://github.com/wassname/geopandas.git
synced 2026-09-12 12:20:25 +08:00
Add intersection test
This commit is contained in:
@@ -104,6 +104,9 @@ class TestSeries(unittest.TestCase):
|
||||
# TODO
|
||||
pass
|
||||
|
||||
def test_intersection(self):
|
||||
assert geom_equals(self.g1 & self.g2, self.t1)
|
||||
|
||||
def test_union_series(self):
|
||||
u = self.g1.union(self.g2)
|
||||
assert u[0].equals(self.sq)
|
||||
|
||||
Reference in New Issue
Block a user