Merge remote-tracking branch 'origin/master' into python_unittests

This commit is contained in:
Richard Berger
2021-03-25 20:58:28 -04:00
24 changed files with 1650 additions and 1621 deletions

View File

@ -42,7 +42,7 @@ using ::testing::MatchesRegex;
}
// whether to print verbose output (i.e. not capturing LAMMPS screen output).
bool verbose = false;
extern bool verbose;
class LAMMPSTest : public ::testing::Test {
public:

View File

@ -70,6 +70,9 @@ static bool file_exists(const std::string &filename)
}
#define ASSERT_FILE_EXISTS(NAME) ASSERT_TRUE(file_exists(NAME))
#define ASSERT_FILE_NOT_EXISTS(NAME) ASSERT_FALSE(file_exists(NAME))
#define ASSERT_FILE_EQUAL(FILE_A, FILE_B) ASSERT_TRUE(equal_lines(FILE_A, FILE_B))
#endif