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
}
havoqgt::test::TEST
TEST(my_test, test_b)
Definition:
test_mpi_communicator.cpp:6
havoqgt
Definition:
breadth_first_search.hpp:59
main
GTEST_API_ int main(int argc, char **argv)
Definition:
test_mpi_communicator.cpp:13
mpi.hpp
CHK_MPI
#define CHK_MPI(a)
Definition:
mpi.hpp:68
test
test_mpi_communicator.cpp
Generated on Wed Aug 10 2016 00:55:32 for HavoqGT by
1.8.9.1