From f71513f4831afb82e12f0ac7742b2d8185a719d9 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Thu, 9 Jul 2020 11:56:07 -0400 Subject: [PATCH] update for atom style ellipsoid tester --- unittest/formats/test_atom_styles.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/unittest/formats/test_atom_styles.cpp b/unittest/formats/test_atom_styles.cpp index f925791dc8..45049609ac 100644 --- a/unittest/formats/test_atom_styles.cpp +++ b/unittest/formats/test_atom_styles.cpp @@ -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();