test Package

test Package

infpy.test.suite()[source]

distribution_test Module

class infpy.test.distribution_test.DistributionTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test case for distributions

test_pdf_derivative()[source]

Test of the derivative of the pdf

test_sample()[source]

Test of sample from distribution - also tests mean and variance

test_str()[source]

Test of string representation of distribution

infpy.test.distribution_test.checked_sample(dist)[source]

Checks the sample is in the support of the distribution

infpy.test.distribution_test.show_samples(dist)[source]

Test of the distribution’s sampling method

utils_test Module

class infpy.test.utils_test.CloseToTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test()[source]
class infpy.test.utils_test.ZeroMeanUnityVarianceTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test()[source]

Table Of Contents

Previous topic

test Package

Next topic

variational Package

This Page