def test_scharr_h_zeros():
 result = filters.scharr_h(np.zeros((10, 10)), np.ones((10, 10), bool))
 assert_allclose(result, 0)

def test_scharr_h_zeros ( ) : result = filters . scharr_h ( np . zeros ( ( 10 , 10 ) ) , np . ones ( ( 10 , 10 ) , bool ) ) assert_allclose ( result , 0 )
horizontal scharr on an array of all zeros .