MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / BOOST_AUTO_TEST_CASE

Function BOOST_AUTO_TEST_CASE

src/test/main_tests.cpp:40–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40BOOST_AUTO_TEST_CASE(block_subsidy_test)
41{
42 const auto chainParams = CreateChainParams(CBaseChainParams::MAIN);
43 TestBlockSubsidyHalvings(chainParams->GetConsensus()); // As in main
44 TestBlockSubsidyHalvings(150); // As in regtest
45 TestBlockSubsidyHalvings(1000); // Just another interval
46}
47
48BOOST_AUTO_TEST_CASE(subsidy_limit_test)
49{

Callers

nothing calls this directly

Calls 6

CreateChainParamsFunction · 0.85
TestBlockSubsidyHalvingsFunction · 0.85
GetBlockSubsidyFunction · 0.85
MoneyRangeFunction · 0.85
TestClass · 0.85
disconnectMethod · 0.45

Tested by

no test coverage detected