def test_bootstrap_length():
 out = algo.bootstrap(a_norm)
 assert_equal(len(out), 10000)
 n_boot = 100
 out = algo.bootstrap(a_norm, n_boot=n_boot)
 assert_equal(len(out), n_boot)

def test_bootstrap_length ( ) : out = algo . bootstrap ( a_norm ) assert_equal ( len ( out ) , 10000 ) n_boot = 100 out = algo . bootstrap ( a_norm , n_boot = n_boot ) assert_equal ( len ( out ) , n_boot )
test that we get a bootstrap array of the right shape .