Definition at line 86 of file packed_range_test.C.
◆ CPPUNIT_TEST() [1/3]
◆ CPPUNIT_TEST() [2/3]
◆ CPPUNIT_TEST() [3/3]
◆ CPPUNIT_TEST_SUITE()
◆ CPPUNIT_TEST_SUITE_END()
PackedRangeTest::CPPUNIT_TEST_SUITE_END |
( |
| ) |
|
◆ setUp()
void PackedRangeTest::setUp |
( |
| ) |
|
|
inline |
◆ tearDown()
void PackedRangeTest::tearDown |
( |
| ) |
|
|
inline |
◆ testContainerSendReceive()
void PackedRangeTest::testContainerSendReceive |
( |
| ) |
|
|
inline |
Definition at line 150 of file packed_range_test.C.
152 std::vector<processor_id_type> vals;
154 std::vector<std::string> send(1), recv;
157 const unsigned int dest_rank =
159 const unsigned int source_rank =
163 std::ostringstream os;
169 (dest_rank, (
void *)(NULL), send.begin(), send.end(),
170 source_rank, (
void *)(NULL),
171 std::back_inserter(recv),
174 CPPUNIT_ASSERT_EQUAL(recv.size(), std::size_t(1));
178 std::ostringstream os;
183 CPPUNIT_ASSERT_EQUAL(recv[0], check);
References TestCommWorld.
◆ testNullAllGather()
void PackedRangeTest::testNullAllGather |
( |
| ) |
|
|
inline |
Definition at line 109 of file packed_range_test.C.
111 std::vector<processor_id_type> vals;
113 std::vector<std::string> send(1);
115 send[0].assign(
"Hello");
117 send[0].assign(
"Goodbye");
120 ((
void *)(NULL), send.begin(), send.end(),
References TestCommWorld.
◆ testNullSendReceive()
void PackedRangeTest::testNullSendReceive |
( |
| ) |
|
|
inline |
Definition at line 125 of file packed_range_test.C.
127 std::vector<processor_id_type> vals;
129 std::vector<std::string> send(1);
131 const unsigned int dest_rank =
133 const unsigned int source_rank =
137 std::ostringstream os;
143 (dest_rank, (
void *)(NULL), send.begin(), send.end(),
144 source_rank, (
void *)(NULL),
References TestCommWorld.
The documentation for this class was generated from the following file: