From 600105e8c74026effce81cee87d33d6ce5c98bad Mon Sep 17 00:00:00 2001 From: Jonathan Lifflander Date: Mon, 5 Jun 2023 12:58:40 -0700 Subject: [PATCH] #276: tests: remove duplicated code --- .../collection/test_collection_group.extended.cc | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/tests/unit/collection/test_collection_group.extended.cc b/tests/unit/collection/test_collection_group.extended.cc index 838f8956a3..b1e6f7d855 100644 --- a/tests/unit/collection/test_collection_group.extended.cc +++ b/tests/unit/collection/test_collection_group.extended.cc @@ -129,26 +129,12 @@ TEST_F(TestCollectionGroup, test_collection_group_2) { auto const numElems = elem_counter; - // raw msg pointer case + // msg constructed on the fly case runBcastTestHelper([proxy, my_node]{ proxy.broadcastCollective<&ColA::memberHandler>(my_node); }); EXPECT_EQ(elem_counter, 0); - - // smart msg pointer case - runBcastTestHelper([proxy, my_node]{ - proxy.broadcastCollective<&ColA::memberHandler>(my_node); - }); - - EXPECT_EQ(elem_counter, -numElems); - - // msg constructed on the fly case - runBcastTestHelper([proxy, my_node] { - proxy.broadcastCollective<&ColA::memberHandler>(my_node); - }); - - EXPECT_EQ(elem_counter, -2 * numElems); } TEST_F(TestCollectionGroup, test_collection_group_3) {