lemma-osu / gee-knn-python

0 stars 0 forks source link

Refactor test modules #2

Closed grovduck closed 1 year ago

grovduck commented 1 year ago

There was a lot of duplicated code across tests and the setup for the tests was in the geeknn package itself. This PR refactors the two test modules to use pytest.mark.parametrize to reduce duplication and moves the code needed to set up the tests into tests/setup.py.

Currently, we have three tests for our five implemented estimators (Raw, Euclidean, Mahalanobis, MSN, and GNN):