MCPcopy Create free account
hub / github.com/Bitcoin-ABC/bitcoin-abc / RunOperators

Function RunOperators

src/test/scriptnum_tests.cpp:136–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136static void RunOperators(const int64_t &num1, const int64_t &num2) {
137 CheckAdd(num1, num2);
138 CheckSubtract(num1, num2);
139 CheckNegate(num1);
140 CheckCompare(num1, num2);
141}
142
143BOOST_AUTO_TEST_CASE(creation) {
144 for (size_t i = 0; i < std::size(values); ++i) {

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 4

CheckAddFunction · 0.85
CheckSubtractFunction · 0.85
CheckNegateFunction · 0.85
CheckCompareFunction · 0.85

Tested by

no test coverage detected