(self)
| 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({ |
nothing calls this directly
no test coverage detected