test for exceptions add example

This commit is contained in:
Axel Kohlmeyer
2020-09-14 17:01:28 -04:00
parent 4185608e92
commit a1b2f82107
4 changed files with 50 additions and 6 deletions

View File

@ -118,6 +118,11 @@ TEST_F(LibraryConfig, style_name)
EXPECT_THAT(buf, StrEq(""));
};
TEST(LAMMPSConfig, exceptions)
{
EXPECT_EQ(lammps_config_has_exceptions(), LAMMPS_HAS_EXCEPTIONS);
};
TEST(LAMMPSConfig, mpi_support)
{
EXPECT_EQ(lammps_config_has_mpi_support(), LAMMPS_HAS_MPI);