Monero
Macros | Functions
pruning.cpp File Reference
#include "gtest/gtest.h"
#include "misc_log_ex.h"
#include "cryptonote_config.h"
#include "common/pruning.h"
Include dependency graph for pruning.cpp:

Macros

#define ASSERT_EX(x)   do { bool ex = false; try { x; } catch(...) { ex = true; } ASSERT_TRUE(ex); } while(0)
 

Functions

 TEST (pruning, parts)
 
 TEST (pruning, out_of_range)
 
 TEST (pruning, fits)
 
 TEST (pruning, tip)
 
 TEST (pruning, seed)
 
 TEST (pruning, match)
 
 TEST (pruning, stripe_size)
 
 TEST (pruning, next_unpruned)
 
 TEST (pruning, next_pruned)
 

Macro Definition Documentation

◆ ASSERT_EX

#define ASSERT_EX (   x)    do { bool ex = false; try { x; } catch(...) { ex = true; } ASSERT_TRUE(ex); } while(0)

Function Documentation

◆ TEST() [1/9]

TEST ( pruning  ,
parts   
)

◆ TEST() [2/9]

TEST ( pruning  ,
out_of_range   
)

◆ TEST() [3/9]

TEST ( pruning  ,
fits   
)

◆ TEST() [4/9]

TEST ( pruning  ,
tip   
)

◆ TEST() [5/9]

TEST ( pruning  ,
seed   
)

◆ TEST() [6/9]

TEST ( pruning  ,
match   
)

◆ TEST() [7/9]

TEST ( pruning  ,
stripe_size   
)

◆ TEST() [8/9]

TEST ( pruning  ,
next_unpruned   
)

◆ TEST() [9/9]

TEST ( pruning  ,
next_pruned   
)