ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
test_page_allocator.cpp File Reference
#include <gtest/gtest.h>
#include "source_cell/module_neighlist/page_allocator.h"
#include <stdexcept>
Include dependency graph for test_page_allocator.cpp:

Functions

 TEST (PageAllocatorTest, RejectsNonPositivePageSize)
 TEST (PageAllocatorTest, AllocatesContiguousBlocksWithinPage)
 TEST (PageAllocatorTest, StartsNewPageAndResetReusesFirstPage)
 TEST (PageAllocatorTest, NonPositiveAllocationReturnsNull)

Function Documentation

◆ TEST() [1/4]

TEST ( PageAllocatorTest ,
AllocatesContiguousBlocksWithinPage  )
Here is the call graph for this function:

◆ TEST() [2/4]

TEST ( PageAllocatorTest ,
NonPositiveAllocationReturnsNull  )
Here is the call graph for this function:

◆ TEST() [3/4]

TEST ( PageAllocatorTest ,
RejectsNonPositivePageSize  )
Here is the call graph for this function:

◆ TEST() [4/4]

TEST ( PageAllocatorTest ,
StartsNewPageAndResetReusesFirstPage  )
Here is the call graph for this function: