test_utils

Documentation for classes in the tests.test_utils module:

class tests.test_utils.TestFindCut(methodName='runTest')[source]

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_linspace()[source]

Test find_cut() with a linearly spaced numpy array

test_linspace_specificity()[source]

Test find_cut() with a linearly spaced numpy array in specificity mode

test_linspace_inverse()[source]

Test find_cut() with a linearly spaced numpy array in inverse mode

test_linspace_inverse_specificity()[source]

Test find_cut() with a linearly spaced numpy array in inverse and specificity mode

class tests.test_utils.TestRoc(methodName='runTest')[source]

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_linspace()[source]

Test roc() with a linearly spaced numpy array