(self)
| 289 | self.assertEqual(expect, result) |
| 290 | |
| 291 | def test_bitCount(self): |
| 292 | expect = make_expression_graph({ |
| 293 | 'arguments': { |
| 294 | 'input': ARRAY_ONE, |
| 295 | }, |
| 296 | 'functionName': 'Array.bitCount', |
| 297 | }) |
| 298 | expression = ee.Array([1]).bitCount() |
| 299 | result = json.loads(expression.serialize()) |
| 300 | self.assertEqual(expect, result) |
| 301 | |
| 302 | def test_bits_to_array(self): |
| 303 | expect = make_expression_graph({ |
nothing calls this directly
no test coverage detected