def METHOD_NAME(self):
    image = numpy.zeros((10,10))
    labels = numpy.zeros((10,10),int)
    mask = numpy.ones((10,10),bool)
    mask[2,2] = False
    mask[7,2] = False
    labels[0,5] = 1
    labels[9,5] = 2
    result,distances = cellprofiler.cpmath.propagate.propagate(image, labels, mask, 1.0)
    self.assertEqual(result[2,2],0)
    self.assertEqual(result[7,2],0)
    x,y = numpy.mgrid[0:10,0:10]
    mask_one = x < 5
    mask_one[2,2] = False
    mask_two = x >= 5
    mask_two[7,2] = False
    self.assertTrue(numpy.all(result[mask_one] == 1))
    self.assertTrue(numpy.all(result[mask_two] == 2))