Testing WKB output.
(self)
| 141 | GEOSGeometry(geom) |
| 142 | |
| 143 | def test_wkb(self): |
| 144 | "Testing WKB output." |
| 145 | for g in self.geometries.hex_wkt: |
| 146 | geom = fromstr(g.wkt) |
| 147 | wkb = geom.wkb |
| 148 | self.assertEqual(wkb.hex().upper(), g.hex) |
| 149 | |
| 150 | def test_create_hex(self): |
| 151 | "Testing creation from HEX." |