make naming more consistent

This commit is contained in:
Axel Kohlmeyer 2020-09-14 20:27:10 -04:00
parent 93bd851ab0
commit 5c7f67201b
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 7 additions and 7 deletions

View File

@ -16,11 +16,11 @@ const char *demo_input[] = {"region box block 0 $x 0 2 0 2", "create_box 1
"create_atoms 1 single 1.0 1.0 ${zpos}"};
const char *cont_input[] = {"create_atoms 1 single &", "0.2 0.1 0.1"};
class LAMMPS_commands : public ::testing::Test {
class LibraryCommands : public ::testing::Test {
protected:
void *lmp;
LAMMPS_commands(){};
~LAMMPS_commands() override{};
LibraryCommands(){};
~LibraryCommands() override{};
void SetUp() override
{
@ -47,7 +47,7 @@ protected:
}
};
TEST_F(LAMMPS_commands, from_file)
TEST_F(LibraryCommands, from_file)
{
FILE *fp;
const char demo_file[] = "in.test";
@ -80,7 +80,7 @@ TEST_F(LAMMPS_commands, from_file)
unlink(cont_file);
};
TEST_F(LAMMPS_commands, from_line)
TEST_F(LibraryCommands, from_line)
{
EXPECT_EQ(lammps_get_natoms(lmp), 0);
if (!verbose) ::testing::internal::CaptureStdout();
@ -91,7 +91,7 @@ TEST_F(LAMMPS_commands, from_line)
EXPECT_EQ(lammps_get_natoms(lmp), 1);
};
TEST_F(LAMMPS_commands, from_list)
TEST_F(LibraryCommands, from_list)
{
EXPECT_EQ(lammps_get_natoms(lmp), 0);
if (!verbose) ::testing::internal::CaptureStdout();
@ -101,7 +101,7 @@ TEST_F(LAMMPS_commands, from_list)
EXPECT_EQ(lammps_get_natoms(lmp), 2);
};
TEST_F(LAMMPS_commands, from_string)
TEST_F(LibraryCommands, from_string)
{
std::string cmds("");