(self)
| 1006 | self.assertEqual(expect, result) |
| 1007 | |
| 1008 | def test_array_dot_product(self): |
| 1009 | expect = make_expression_graph({ |
| 1010 | 'arguments': { |
| 1011 | 'image1': IMAGE, |
| 1012 | 'image2': IMAGE_B, |
| 1013 | }, |
| 1014 | 'functionName': 'Image.arrayDotProduct', |
| 1015 | }) |
| 1016 | expression = ee.Image('a').arrayDotProduct('b') |
| 1017 | result = json.loads(expression.serialize()) |
| 1018 | self.assertEqual(expect, result) |
| 1019 | |
| 1020 | expression = ee.Image('a').arrayDotProduct(image2='b') |
| 1021 | result = json.loads(expression.serialize()) |
| 1022 | self.assertEqual(expect, result) |
| 1023 | |
| 1024 | def test_array_flatten(self): |
| 1025 | coordinate_labels = ['b', 'c'] |
nothing calls this directly
no test coverage detected