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

Function TestEncode

src/test/compress_tests.cpp:27–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25BOOST_FIXTURE_TEST_SUITE(compress_tests, BasicTestingSetup)
26
27bool static TestEncode(uint64_t in) {
28 return in == CTxOutCompressor::DecompressAmount(CTxOutCompressor::CompressAmount(in));
29}
30
31bool static TestDecode(uint64_t in) {
32 return in == CTxOutCompressor::CompressAmount(CTxOutCompressor::DecompressAmount(in));

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected