()
| 67 | |
| 68 | |
| 69 | def test_serialize_flat_points(): |
| 70 | expected = [ |
| 71 | "(0.0, 0.0)\n", |
| 72 | "(1.0, 1.0)\n", |
| 73 | "(2.0, 2.0, 2.0)\n", |
| 74 | ] |
| 75 | geoms = [Point(0, 0), Point(1, 1), Point(2, 2, 2)] |
| 76 | output = io.StringIO() |
| 77 | serialize_flat(flatten(geoms), output) |
| 78 | output.seek(0) |
| 79 | actual = output.readlines() |
| 80 | assert actual == expected |
| 81 | |
| 82 | |
| 83 | def test_serialize_flat_linestring(): |
nothing calls this directly
no test coverage detected