update for atom style ellipsoid tester

This commit is contained in:
Axel Kohlmeyer 2020-07-09 11:56:07 -04:00
parent cc9df9a76d
commit f71513f483
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 12 additions and 0 deletions

View File

@ -1393,9 +1393,21 @@ TEST_F(AtomStyleTest, ellipsoid)
ASSERT_EQ(lmp->atom->tag_enable, 1);
ASSERT_EQ(lmp->atom->molecular, 0);
ASSERT_EQ(lmp->atom->ntypes, 3);
EXPECT_EQ(lmp->atom->nextra_grow, 0);
EXPECT_EQ(lmp->atom->nextra_restart, 0);
EXPECT_EQ(lmp->atom->nextra_border, 0);
EXPECT_EQ(lmp->atom->nextra_grow_max, 0);
EXPECT_EQ(lmp->atom->nextra_restart_max, 0);
EXPECT_EQ(lmp->atom->nextra_border_max, 0);
EXPECT_EQ(lmp->atom->nextra_store, 0);
EXPECT_EQ(lmp->atom->extra_grow, nullptr);
EXPECT_EQ(lmp->atom->extra_restart, nullptr);
EXPECT_EQ(lmp->atom->extra_border, nullptr);
EXPECT_EQ(lmp->atom->extra, nullptr);
ASSERT_EQ(lmp->atom->mass, nullptr);
ASSERT_NE(lmp->atom->rmass, nullptr);
ASSERT_NE(lmp->atom->ellipsoid, nullptr);
ASSERT_EQ(lmp->atom->mass_setflag, nullptr);
if (!verbose) ::testing::internal::CaptureStdout();