Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test framework #8

Open
ghamerly opened this issue May 30, 2018 · 0 comments
Open

Test framework #8

ghamerly opened this issue May 30, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@ghamerly
Copy link
Owner

It would be really nice to have a test framework for all the basic functions that we have in this repository. There are already some assignment verification routines which are veyr useful for testing new algorithms (https://github.com/ghamerly/fast-kmeans/blob/master/src/kmeans.h#L46), but they are slow and must be compiled in/out.

These new things should be a set of unit tests that interfere as little with the existing code as possible. Things that live in general_functions.h should all be tested, including distances and initialization routines. Dataset should have tests. Any subclass of Kmeans should support such a unit test for itself. Then we can go through instances of subclasses of Kmeans and test them all using virtual methods.

@ghamerly ghamerly added the enhancement New feature or request label May 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant