(self)
| 300 | self.assertEqual(expect, result) |
| 301 | |
| 302 | def test_bits_to_array(self): |
| 303 | expect = make_expression_graph({ |
| 304 | 'arguments': {'input': {'constantValue': 1}}, |
| 305 | 'functionName': 'Array.bitsToArray', |
| 306 | }) |
| 307 | expression = ee.Array.bitsToArray(1) |
| 308 | result = json.loads(expression.serialize()) |
| 309 | self.assertEqual(expect, result) |
| 310 | |
| 311 | expression = ee.Array.bitsToArray(input=1) |
| 312 | result = json.loads(expression.serialize()) |
| 313 | self.assertEqual(expect, result) |
| 314 | |
| 315 | def test_bitwise_and(self): |
| 316 | expect = make_expression_graph({ |
nothing calls this directly
no test coverage detected