MCPcopy
hub / github.com/google/earthengine-api / test_point

Method test_point

python/ee/tests/geometry_test.py:437–450  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

435 ee.Geometry.MultiPolygon(*coords)
436
437 def test_point(self):
438 coords = [1, 2, 3, 4]
439 proj = 'EPSG:4326'
440 func = ee.ApiFunction.lookup('GeometryConstructors.Point')
441
442 geometry = ee.Geometry.Point(coords, proj)
443 self.assertEqual(func, geometry.func)
444 self.assertEqual(
445 {
446 'coordinates': ee.List(coords),
447 'crs': ee.Projection(proj),
448 },
449 geometry.args,
450 )
451
452 def test_point_kwargs(self):
453 coords = [1, 2, 3, 4]

Callers

nothing calls this directly

Calls 2

lookupMethod · 0.80
PointMethod · 0.80

Tested by

no test coverage detected