def test_smooth_bootstrap():
 x = rs.randn(15)
 n_boot = 100
 out_smooth = algo.bootstrap(x, n_boot=n_boot, smooth=True, func=np.median)
 assert (not (np.median(out_smooth) in x))

def test_smooth_bootstrap ( ) : x = rs . randn ( 15 ) n_boot = 100 out_smooth = algo . bootstrap ( x , n_boot = n_boot , smooth = True , func = np . median ) assert ( not ( np . median ( out_smooth ) in x ) )
test smooth bootstrap .