test_import_datasets

Documentation for classes in the tests.test_import_datasets module:

class tests.test_import_datasets.TestLoadvars(methodName='runTest')[source]

Class of tests for the load_vars() function

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

test_loadvars_flag()[source]

Tests that the array extracted from a root file corresponds to the expected one. We use a dummy Root file with variables generate for this purpose

test_loadvars_noflag()[source]

Tests that the array extracted from a root file corresponds to the expected one. We use a dummy Root file with variables generate for this purpose

test_loadvars_1D()[source]

Tests that the array extracted from a root file corresponds to the expected one. We use a dummy Root file with variables generate for this purpose

class tests.test_import_datasets.TestArrayGenerator(methodName='runTest')[source]

Class of tests for the array_generator() function

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

test_training_testing()[source]

Tests that the array extracted from a root file corresponds to the expected one. We use a dummy Root file with variables generate for this purpose