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

Function ValueFromString

src/test/rpc_tests.cpp:152–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152static UniValue ValueFromString(const std::string &str)
153{
154 UniValue value;
155 BOOST_CHECK(value.setNumStr(str));
156 return value;
157}
158
159BOOST_AUTO_TEST_CASE(rpc_parse_monetary_values)
160{

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 1

setNumStrMethod · 0.80

Tested by

no test coverage detected