MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / RunCreate

Function RunCreate

src/test/scriptnum_tests.cpp:144–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144static void RunCreate(const int64_t& num)
145{
146 CheckCreateInt(num);
147 CScriptNum scriptnum(num);
148 if (scriptnum.getvch().size() <= CScriptNum::nDefaultMaxNumSize)
149 CheckCreateVch(num);
150 else
151 {
152 BOOST_CHECK_THROW (CheckCreateVch(num), scriptnum_error);
153 }
154}
155
156static void RunOperators(const int64_t& num1, const int64_t& num2)
157{

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 4

CheckCreateIntFunction · 0.85
CheckCreateVchFunction · 0.85
sizeMethod · 0.45
getvchMethod · 0.45

Tested by

no test coverage detected