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

Function RunCreate

src/test/scriptnum_tests.cpp:145–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

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