Testing HEX input/output.
(self)
| 97 | self.assertEqual(exp_gml, geom.gml) |
| 98 | |
| 99 | def test_hex(self): |
| 100 | "Testing HEX input/output." |
| 101 | for g in self.geometries.hex_wkt: |
| 102 | geom1 = OGRGeometry(g.wkt) |
| 103 | self.assertEqual(g.hex.encode(), geom1.hex) |
| 104 | # Constructing w/HEX |
| 105 | geom2 = OGRGeometry(g.hex) |
| 106 | self.assertEqual(geom1, geom2) |
| 107 | |
| 108 | def test_wkb(self): |
| 109 | "Testing WKB input/output." |
nothing calls this directly
no test coverage detected