update unit tests, too

This commit is contained in:
Axel Kohlmeyer
2020-09-11 19:24:32 -04:00
parent 9d0c3bc665
commit 47b3039b28
4 changed files with 70 additions and 70 deletions

View File

@ -763,7 +763,7 @@ TEST(AngleStyle, single)
// gather some information and skip if unsupported
int nangletypes = lmp->atom->nangletypes;
int molecular = lmp->atom->molecular;
if (molecular != 1) {
if (molecular != Atom::MOLECULAR) {
std::cerr << "Only simple molecular atom styles are supported\n";
if (!verbose) ::testing::internal::CaptureStdout();
cleanup_lammps(lmp, test_config);