'Testing creation from WKB.'

def test_create_wkb(self):

    for g in self.geometries.hex_wkt:
        wkb = memoryview(a2b_hex(g.hex.encode()))
        geom_h = GEOSGeometry(wkb)
        geom_t = fromstr(g.wkt)
        self.assertEqual(geom_t.wkt, geom_h.wkt)
