added get_last_error_message; still working on its unit test

This commit is contained in:
Karl Hammond
2022-09-26 21:56:03 -05:00
parent 1072a5bda2
commit 2072e08624
2 changed files with 62 additions and 26 deletions

View File

@ -111,5 +111,6 @@ TEST_F(LAMMPS_properties, extract_setting)
TEST_F(LAMMPS_properties, has_error)
{
EXPECT_EQ(f_lammps_has_error(), 0);
EXPECT_EQ(f_lammps_has_error(), lammps_has_error(lmp));
// TODO: How to test the error message itself?
};