HavoqGT
test_mpi_communicator.cpp
Go to the documentation of this file.
1 #include <gtest/gtest.h>
2 #include <havoqgt/mpi.hpp>
3 
4 namespace havoqgt { namespace test {
5 
6 TEST(my_test, test_b) {
7  EXPECT_EQ(5, 5);
8 }
9 
10 }} //end namespace apgaf::test
11 
12 //mpi main for gteset
13 GTEST_API_ int main(int argc, char **argv) {
14  CHK_MPI( MPI_Init( &argc, &argv) );
15  std::cout << "Running main() from gtest_main.cc\n";
16 
17  testing::InitGoogleTest(&argc, argv);
18  int to_return RUN_ALL_TESTS();
19  CHK_MPI( MPI_Finalize() );
20  return to_return;
21 }
TEST(my_test, test_b)
GTEST_API_ int main(int argc, char **argv)
#define CHK_MPI(a)
Definition: mpi.hpp:68