def METHOD_NAME(self):
    a0 = Vector(1.5, 1.5)
    deltas = []
    nverts = len(self.vertices)
    for i in range(nverts):
        j = (i + 1) % nverts
        deltas.append(self.vertices[j] - self.vertices[i])
    assert len(deltas) == nverts
    for i in range(self.ntests):
        j = random.randint(0, nverts - 1)
        a1 = self.vertices[j] + random.random()*deltas[j]
        aa0, aa1, polygon, T = self.randomDistortion(a0, a1, self.vertices)
        result = segmentIntersectEdges(aa0, aa1, polygon)
        Tinv = T.Inverse()
        self.assertTrue(result == True,
                        "Incorrectly missed intersection of edge %s->%s with polygon" %
                        (Tinv*aa0, Tinv*aa1))