MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / test

Method test

src/test/util_tests.cpp:89–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87
88 int get_ip1() { return i + 1; }
89 bool test()
90 {
91 // Check that Assume can be used within a lambda and still call methods
92 [&]() { Assume(get_ip1()); }();
93 return Assume(get_ip1() != 5);
94 }
95};
96} // namespace
97

Callers 4

AddInputMethod · 0.45
AddOutputMethod · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
decodepsbtFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected