def test_image_less_than_mask():
 image = np.ones((5, 5))
 mask = (np.ones((5, 5)) * 2)
 assert_close(reconstruction(image, mask), 1)

def test_image_less_than_mask ( ) : image = np . ones ( ( 5 , 5 ) ) mask = ( np . ones ( ( 5 , 5 ) ) * 2 ) assert_close ( reconstruction ( image , mask ) , 1 )
test reconstruction where the image is uniform and less than mask .