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

Method test_atan2

python/ee/tests/ee_array_test.py:275–289  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

273 self.assertEqual(expect, result)
274
275 def test_atan2(self):
276 expect = make_expression_graph({
277 'arguments': {
278 'left': ARRAY_ONE,
279 'right': ARRAY_TWO,
280 },
281 'functionName': 'Array.atan2',
282 })
283 expression = ee.Array([1]).atan2([2])
284 result = json.loads(expression.serialize())
285 self.assertEqual(expect, result)
286
287 expression = ee.Array([1]).atan2(right=[2])
288 result = json.loads(expression.serialize())
289 self.assertEqual(expect, result)
290
291 def test_bitCount(self):
292 expect = make_expression_graph({

Callers

nothing calls this directly

Calls 3

make_expression_graphFunction · 0.70
atan2Method · 0.45
serializeMethod · 0.45

Tested by

no test coverage detected