3 #include <timpi/timpi_version.h> 5 #define TIMPI_UNIT_ASSERT(expr) \ 16 TIMPI_UNIT_ASSERT(build_string.find(
"Version = 1.8.5") != std::string::npos);
17 TIMPI_UNIT_ASSERT(build_string.find(
"Build Date") != std::string::npos);
18 TIMPI_UNIT_ASSERT(build_string.find(
"C++ Config") != std::string::npos);
19 TIMPI_UNIT_ASSERT(build_string.find(
"Using find correctly") == std::string::npos);
25 TIMPI_UNIT_ASSERT(version == 10805);
29 int main(
int argc,
const char *
const * argv)
The TIMPIInit class, when constructed, initializes any dependent libraries (e.g.
Encapsulates the MPI_Comm object.
std::string timpi_version_string()
int main(int argc, const char *const *argv)
const Communicator & comm() const
Returns the Communicator created by this object, which will be a compatibility shim if MPI is not ena...
Communicator * TestCommWorld