mphowardlab / azplugins

A HOOMD-blue component for soft matter simulations.
BSD 3-Clause "New" or "Revised" License
21 stars 13 forks source link

Condense unit tests #34

Closed mphoward closed 4 months ago

mphoward commented 4 years ago

There is alot code duplication in unit tests, like those for the pair potentials. We want to do something like add a generic base class, which will have all of the tests implemented once. Deriving classes will specialize things like the name of the pair potential, the parameters to test, etc. This will make it easier to make changes in one place.

mphoward commented 4 months ago

This has been completed as part of porting to HOOMD 4 and using pytest.