Bitcoin Core 29.99.0
P2P Digital Currency
Classes | Macros | Functions
versionbits_tests.cpp File Reference
#include <chain.h>
#include <chainparams.h>
#include <consensus/params.h>
#include <test/util/random.h>
#include <test/util/setup_common.h>
#include <util/chaintype.h>
#include <versionbits.h>
#include <versionbits_impl.h>
#include <boost/test/unit_test.hpp>
Include dependency graph for versionbits_tests.cpp:

Go to the source code of this file.

Classes

class  TestConditionChecker
 
class  VersionBitsTester
 
struct  BlockVersionTest
 

Macros

#define CHECKERS   6
 

Functions

static int32_t TestTime (int nHeight)
 
 BOOST_AUTO_TEST_CASE (versionbits_test)
 
 BOOST_FIXTURE_TEST_CASE (versionbits_computeblockversion, BlockVersionTest)
 

Macro Definition Documentation

◆ CHECKERS

#define CHECKERS   6

Definition at line 55 of file versionbits_tests.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( versionbits_test  )

Definition at line 187 of file versionbits_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE()

BOOST_FIXTURE_TEST_CASE ( versionbits_computeblockversion  ,
BlockVersionTest   
)

Definition at line 440 of file versionbits_tests.cpp.

Here is the call graph for this function:

◆ TestTime()

static int32_t TestTime ( int  nHeight)
static

Definition at line 17 of file versionbits_tests.cpp.

Here is the caller graph for this function: