fabian-sp / GGLasso

A Python package for General Graphical Lasso computation
MIT License
30 stars 14 forks source link

Adding tests #15

Closed fabian-sp closed 3 years ago

fabian-sp commented 3 years ago

Adds test to increase the test coverage. Mostly testing utility functions. Separates general utility functions (into helper.utils) from experiment utilities (helper.experiment_helper).

Coverage report: image

NOTE: The missing coverage in basic_linalg, fgl_helper and ggl_helper comes from numba-jitted functions which are not included in the coverage numbers. experiment_helper consists mainly of plotting functions which are only used for the examples. I am not sure whether unit testing makes sense therefore.