test.extra.test_distributions module

Test all the distributions, making sure they do what they say they do.

Based on the Kolmogorov-Smirnov goodness-of-fit test for continuous distributions, the TestDistributions will actually test the goodness of all generators listed in pypdevsbbl.extra.rngstreams.distributions.

class test.extra.test_distributions.TestDistributions(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]
test_beta()[source]
test_binomial()[source]
test_cauchy()[source]
test_chiSquare()[source]
test_exponential()[source]
test_F()[source]
test_frechet()[source]
test_gamma()[source]
test_geometric()[source]
test_gumbel()[source]
test_JSB()[source]
test_JSU()[source]
test_laplace()[source]
test_logistic()[source]
test_loglogistic()[source]
test_lognormal()[source]
test_negbinomial()[source]
test_normal()[source]
test_pareto()[source]
test_poisson()[source]
test_PT5()[source]
test_PT6()[source]
test_student()[source]
test_triangular()[source]
test_uniform()[source]
test_uniformInt()[source]
test_wald()[source]
test_weibull()[source]
test_zipf()[source]