MCPcopy
hub / github.com/django/django / test_disjoint

Method test_disjoint

tests/gis_tests/gdal_tests/test_geom.py:554–566  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

552 )
553
554 def test_disjoint(self):
555 self.assertIs(
556 OGRGeometry("LINESTRING(0 0, 1 1)").disjoint(
557 OGRGeometry("LINESTRING(0 1, 1 0)")
558 ),
559 False,
560 )
561 self.assertIs(
562 OGRGeometry("LINESTRING(0 0, 0 1)").disjoint(
563 OGRGeometry("LINESTRING(1 0, 1 1)")
564 ),
565 True,
566 )
567
568 def test_equals(self):
569 self.assertIs(

Callers

nothing calls this directly

Calls 2

OGRGeometryClass · 0.90
disjointMethod · 0.45

Tested by

no test coverage detected