|
Electroneum
|
#include "gtest/gtest.h"#include "misc_log_ex.h"#include "cryptonote_config.h"#include "common/pruning.h"
Go to the source code of this file.
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) | |
| #define ASSERT_EX | ( | x | ) | do { bool ex = false; try { x; } catch(...) { ex = true; } ASSERT_TRUE(ex); } while(0) |
Definition at line 35 of file pruning.cpp.
| TEST | ( | pruning | , |
| parts | |||
| ) |
Definition at line 37 of file pruning.cpp.

| TEST | ( | pruning | , |
| out_of_range | |||
| ) |
Definition at line 58 of file pruning.cpp.

| TEST | ( | pruning | , |
| fits | |||
| ) |
Definition at line 64 of file pruning.cpp.

| TEST | ( | pruning | , |
| tip | |||
| ) |
Definition at line 77 of file pruning.cpp.
| TEST | ( | pruning | , |
| seed | |||
| ) |
Definition at line 90 of file pruning.cpp.

| TEST | ( | pruning | , |
| match | |||
| ) |
Definition at line 110 of file pruning.cpp.
| TEST | ( | pruning | , |
| stripe_size | |||
| ) |
Definition at line 127 of file pruning.cpp.
| TEST | ( | pruning | , |
| next_unpruned | |||
| ) |
Definition at line 152 of file pruning.cpp.

| TEST | ( | pruning | , |
| next_pruned | |||
| ) |
Definition at line 202 of file pruning.cpp.
