imhr.tests

@purpose: Test examples from some of the code in the package.
@date: Created on Sat May 1 15:12:38 2019
@author: Semeon Risom
imhr.tests.test_simple()[source]

Test simple math.

Returns:
answer : bool

Returns result of 1 + 1 == 2.

imhr.tests.test_lazy_imports()[source]

Testing imports using subprocess.

Returns:
bool : bool

Returns a bool indicating the function has completed.

imhr.tests.test_generate_roi(args=None)[source]

Read ROI from photoshop PSD files.

Parameters:
args : dict, optional

Dict of paths used to run function, by default None.

Returns:
df : pandas.DataFrame

Pandas dataframe of generated ROI’s.

error : pandas.DataFrame

Pandas dataframe of errors that occured during processing.

imhr.tests.test_run_eyetracking(args=None)[source]

Read ROI from photoshop PSD files.

Parameters:
args : dict, optional

Dict of paths used to run function, by default None.

Returns:
df : pandas.DataFrame

Pandas dataframe of generated ROI’s.

error : pandas.DataFrame

Pandas dataframe of errors that occured during processing.