Monero
Loading...
Searching...
No Matches
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)

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)
Value:
do { bool ex = false; try { x; } catch(...) { ex = true; } ASSERT_TRUE(ex); } while(0)
#define ASSERT_TRUE(condition)
Definition gtest.h:1865

Function Documentation

◆ TEST() [1/9]

TEST ( pruning ,
fits  )

◆ TEST() [2/9]

TEST ( pruning ,
match  )

◆ TEST() [3/9]

TEST ( pruning ,
next_pruned  )

◆ TEST() [4/9]

TEST ( pruning ,
next_unpruned  )

◆ TEST() [5/9]

TEST ( pruning ,
out_of_range  )

◆ TEST() [6/9]

TEST ( pruning ,
parts  )

◆ TEST() [7/9]

TEST ( pruning ,
seed  )

◆ TEST() [8/9]

TEST ( pruning ,
stripe_size  )

◆ TEST() [9/9]

TEST ( pruning ,
tip  )