avoid global namespace import in header, more consistency
This commit is contained in:
@ -26,6 +26,7 @@ using ::testing::Eq;
|
||||
char *BINARY2TXT_EXECUTABLE = nullptr;
|
||||
bool verbose = false;
|
||||
|
||||
namespace LAMMPS_NS {
|
||||
class DumpCustomTest : public MeltTest {
|
||||
std::string dump_style = "custom";
|
||||
|
||||
@ -383,7 +384,7 @@ TEST_F(DumpCustomTest, rerun_bin)
|
||||
ASSERT_NEAR(pe_2, pe_rerun, 1.0e-14);
|
||||
delete_file(dump_file);
|
||||
}
|
||||
|
||||
}
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
MPI_Init(&argc, &argv);
|
||||
@ -391,7 +392,7 @@ int main(int argc, char **argv)
|
||||
|
||||
// handle arguments passed via environment variable
|
||||
if (const char *var = getenv("TEST_ARGS")) {
|
||||
std::vector<std::string> env = utils::split_words(var);
|
||||
std::vector<std::string> env = LAMMPS_NS::utils::split_words(var);
|
||||
for (auto arg : env) {
|
||||
if (arg == "-v") {
|
||||
verbose = true;
|
||||
|
||||
Reference in New Issue
Block a user