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

Function test_query_prepared_inputs

shapely/tests/test_strtree.py:351–354  ·  view source on GitHub ↗
(tree, predicate, expected)

Source from the content-addressed store, hash-verified

349 ],
350)
351def test_query_prepared_inputs(tree, predicate, expected):
352 geom = box(0, 0, 2, 2)
353 shapely.prepare(geom)
354 assert_array_equal(tree.query(geom, predicate=predicate), expected)
355
356
357def test_query_with_partially_prepared_inputs(tree):

Callers

nothing calls this directly

Calls 2

boxFunction · 0.90
queryMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…