def test_randomise_corrmat_seed():
 a = rs.randn(3, 20)
 (_, dist1) = algo.randomize_corrmat(a, random_seed=0, return_dist=True)
 (_, dist2) = algo.randomize_corrmat(a, random_seed=0, return_dist=True)
 assert_array_equal(dist1, dist2)

def test_randomise_corrmat_seed ( ) : a = rs . randn ( 3 , 20 ) ( _ , dist1 ) = algo . randomize_corrmat ( a , random_seed = 0 , return_dist = True ) ( _ , dist2 ) = algo . randomize_corrmat ( a , random_seed = 0 , return_dist = True ) assert_array_equal ( dist1 , dist2 )
test that we can seed the corrmat randomization .