(self)
| 169 | ee.Geometry.BBox(*coords) |
| 170 | |
| 171 | def test_line_string(self): |
| 172 | coords = [1, 2, 3, 4] |
| 173 | proj = 'EPSG:4326' |
| 174 | max_error = 1000 |
| 175 | func = ee.ApiFunction.lookup('GeometryConstructors.LineString') |
| 176 | |
| 177 | geometry = ee.Geometry.LineString(coords, proj, True, max_error) |
| 178 | self.assertEqual(func, geometry.func) |
| 179 | self.assertEqual( |
| 180 | { |
| 181 | 'coordinates': ee.List(coords), |
| 182 | 'crs': ee.Projection(proj), |
| 183 | 'geodesic': True, |
| 184 | 'maxError': ee.ErrorMargin(max_error), |
| 185 | }, |
| 186 | geometry.args, |
| 187 | ) |
| 188 | |
| 189 | def test_line_string_kwargs(self): |
| 190 | coords = [1, 2, 3, 4] |
nothing calls this directly
no test coverage detected