def test_extract_Array_float():
 for a in np.arange(2.51, 3.49, 0.1):
  assert np.all((extract_array(np.arange(5), 3, a) == np.array([2, 3, 4])))

def test_extract_Array_float ( ) : for a in np . arange ( 2.51 , 3.49 , 0.1 ) : assert np . all ( ( extract_array ( np . arange ( 5 ) , 3 , a ) == np . array ( [ 2 , 3 , 4 ] ) ) )
integer is at bin center .