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.
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.