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

Method test_array_dimensions

python/ee/tests/image_test.py:997–1006  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

995 self.assertEqual(expect, result)
996
997 def test_array_dimensions(self):
998 expect = make_expression_graph({
999 'arguments': {
1000 'input': IMAGE,
1001 },
1002 'functionName': 'Image.arrayDimensions',
1003 })
1004 expression = ee.Image('a').arrayDimensions()
1005 result = json.loads(expression.serialize())
1006 self.assertEqual(expect, result)
1007
1008 def test_array_dot_product(self):
1009 expect = make_expression_graph({

Callers

nothing calls this directly

Calls 3

arrayDimensionsMethod · 0.80
make_expression_graphFunction · 0.70
serializeMethod · 0.45

Tested by

no test coverage detected