Skip to content

Commit 600105e

Browse files
committed
#276: tests: remove duplicated code
1 parent 32a1bd2 commit 600105e

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

tests/unit/collection/test_collection_group.extended.cc

+1-15
Original file line numberDiff line numberDiff line change
@@ -129,26 +129,12 @@ TEST_F(TestCollectionGroup, test_collection_group_2) {
129129

130130
auto const numElems = elem_counter;
131131

132-
// raw msg pointer case
132+
// msg constructed on the fly case
133133
runBcastTestHelper([proxy, my_node]{
134134
proxy.broadcastCollective<&ColA::memberHandler>(my_node);
135135
});
136136

137137
EXPECT_EQ(elem_counter, 0);
138-
139-
// smart msg pointer case
140-
runBcastTestHelper([proxy, my_node]{
141-
proxy.broadcastCollective<&ColA::memberHandler>(my_node);
142-
});
143-
144-
EXPECT_EQ(elem_counter, -numElems);
145-
146-
// msg constructed on the fly case
147-
runBcastTestHelper([proxy, my_node] {
148-
proxy.broadcastCollective<&ColA::memberHandler>(my_node);
149-
});
150-
151-
EXPECT_EQ(elem_counter, -2 * numElems);
152138
}
153139

154140
TEST_F(TestCollectionGroup, test_collection_group_3) {

0 commit comments

Comments
 (0)