test_random

Module Contents

class TestSeed

Bases:numpy.testing.TestCase

test_scalar(self)
test_array(self)
test_invalid_scalar(self)
test_invalid_array(self)
class TestBinomial

Bases:numpy.testing.TestCase

test_n_zero(self)
test_p_is_nan(self)
class TestMultinomial

Bases:numpy.testing.TestCase

test_basic(self)
test_zero_probability(self)
test_int_negative_interval(self)
test_size(self)
class TestSetState

Bases:numpy.testing.TestCase

setUp(self)
test_basic(self)
test_gaussian_reset(self)
test_gaussian_reset_in_media_res(self)
test_backwards_compatibility(self)
test_negative_binomial(self)
class TestRandomDist

Bases:numpy.testing.TestCase

setUp(self)
test_rand(self)
test_randn(self)
test_randint(self)
test_random_integers(self)
test_random_sample(self)
test_choice_uniform_replace(self)
test_choice_nonuniform_replace(self)
test_choice_uniform_noreplace(self)
test_choice_nonuniform_noreplace(self)
test_choice_noninteger(self)
test_choice_exceptions(self)
test_choice_return_shape(self)
test_bytes(self)
test_shuffle(self)
test_shuffle_flexible(self)
test_shuffle_masked(self)
test_beta(self)
test_binomial(self)
test_chisquare(self)
test_dirichlet(self)
test_dirichlet_size(self)
test_exponential(self)
test_f(self)
test_gamma(self)
test_geometric(self)
test_gumbel(self)
test_hypergeometric(self)
test_laplace(self)
test_logistic(self)
test_lognormal(self)
test_logseries(self)
test_multinomial(self)
test_multivariate_normal(self)
test_negative_binomial(self)
test_noncentral_chisquare(self)
test_noncentral_f(self)
test_normal(self)
test_pareto(self)
test_poisson(self)
test_poisson_exceptions(self)
test_power(self)
test_rayleigh(self)
test_standard_cauchy(self)
test_standard_exponential(self)
test_standard_gamma(self)
test_standard_normal(self)
test_standard_t(self)
test_triangular(self)
test_uniform(self)
test_vonmises(self)
test_vonmises_small(self)
test_wald(self)
test_weibull(self)
test_zipf(self)
class TestThread

Bases:object

setUp(self)
check_function(self, function, sz)
test_normal(self)
test_exp(self)
test_multinomial(self)