def METHOD_NAME(self):
    """smooth_with_function_and_mask on a masked square does nothing"""
    np.random.seed(0)
    image = np.random.uniform(size=(10,10))
    mask  = np.zeros((10,10),bool)
    mask[2:7,3:8] = True
    image[mask] = 1
    result = cpms.smooth_with_function_and_mask(image, self.function, mask)
    self.assertTrue(np.all(np.abs(result[mask] - 1) < .00001))