'Testing intersects() and intersection().'

def test10_intersection(self):

    for i in xrange(len(self.geometries.topology_geoms)):
        a = fromstr(self.geometries.topology_geoms[i].wkt_a)
        b = fromstr(self.geometries.topology_geoms[i].wkt_b)
        i1 = fromstr(self.geometries.intersect_geoms[i].wkt)
        self.assertEqual(True, a.intersects(b))
        i2 = a.intersection(b)
        self.assertEqual(i1, i2)
        self.assertEqual(i1, (a & b))
        a &= b
        self.assertEqual(i1, a)
