diffnets.tests package

Submodules

diffnets.tests.test_api module

diffnets.tests.test_api.assert_matrix_is_identity(M)[source]
diffnets.tests.test_api.test_default_inds()[source]
diffnets.tests.test_api.test_whitening_correctness1()[source]
diffnets.tests.test_api.test_whitening_correctness2()[source]
diffnets.tests.test_api.test_whitening_correctness3()[source]

This tests assess if whitening matrix can be correctly generated for a real covariance matrix

diffnets.tests.test_cli module

diffnets.tests.test_cli.test_analyze()[source]
diffnets.tests.test_cli.test_preprocess_custom_inds()[source]
diffnets.tests.test_cli.test_preprocess_default_inds()[source]
diffnets.tests.test_cli.test_train()[source]

diffnets.tests.test_diffnets module

Unit and regression test for the diffnets package.

diffnets.tests.test_diffnets.test_diffnets_imported()[source]

Sample test, will always pass so long as import statement worked

Module contents

Empty init file in case you choose a package besides PyTest such as Nose which may look for such a file