Bitcoin Core 28.99.0
P2P Digital Currency
Functions
pool_tests.cpp File Reference
#include <memusage.h>
#include <support/allocators/pool.h>
#include <test/util/poolresourcetester.h>
#include <test/util/random.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>
#include <cstddef>
#include <cstdint>
#include <unordered_map>
#include <vector>
Include dependency graph for pool_tests.cpp:

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (basic_allocating)
 
 BOOST_AUTO_TEST_CASE (allocate_any_byte)
 
 BOOST_AUTO_TEST_CASE (random_allocations)
 
 BOOST_AUTO_TEST_CASE (memusage_test)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/4]

BOOST_AUTO_TEST_CASE ( allocate_any_byte  )

Definition at line 87 of file pool_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/4]

BOOST_AUTO_TEST_CASE ( basic_allocating  )

Definition at line 20 of file pool_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/4]

BOOST_AUTO_TEST_CASE ( memusage_test  )

Definition at line 157 of file pool_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/4]

BOOST_AUTO_TEST_CASE ( random_allocations  )

Definition at line 119 of file pool_tests.cpp.

Here is the call graph for this function: