Refactor Fortran properties test into configuration; implemented several configuration functions and wrote unit tests for them; implemented missing unit tests
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
|
||||
#include "lammps.h"
|
||||
#include "library.h"
|
||||
#include "info.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
@ -13,7 +14,6 @@
|
||||
extern "C" {
|
||||
void *f_lammps_with_args();
|
||||
void f_lammps_close();
|
||||
int f_lammps_version();
|
||||
void f_lammps_memory_usage(double *);
|
||||
int f_lammps_get_mpi_comm();
|
||||
int f_lammps_extract_setting(const char *);
|
||||
@ -52,11 +52,6 @@ protected:
|
||||
}
|
||||
};
|
||||
|
||||
TEST_F(LAMMPS_properties, version)
|
||||
{
|
||||
EXPECT_LT(20200917, f_lammps_version());
|
||||
};
|
||||
|
||||
TEST_F(LAMMPS_properties, memory_usage)
|
||||
{
|
||||
// copied from c-library, with a two-character modification
|
||||
|
||||
Reference in New Issue
Block a user