MCPcopy Create free account
hub / github.com/ElementsProject/elements / ForEachMergeSetup

Method ForEachMergeSetup

src/test/util_tests.cpp:1102–1109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1100 //! Enumerate all possible test configurations.
1101 template <typename Fn>
1102 void ForEachMergeSetup(Fn&& fn)
1103 {
1104 ActionList arg_actions = {};
1105 ForEachNoDup(arg_actions, ENABLE_TEST, NEGATE_REG, [&] {
1106 ActionList conf_actions = {};
1107 ForEachNoDup(conf_actions, ENABLE_TEST, NEGATE_REG, [&] { fn(arg_actions, conf_actions); });
1108 });
1109 }
1110};
1111
1112BOOST_FIXTURE_TEST_CASE(util_ChainMerge, ChainMergeTestingSetup)

Callers

nothing calls this directly

Calls 2

ForEachNoDupFunction · 0.85
fnFunction · 0.85

Tested by

no test coverage detected