Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
nullifier_tree.test.cpp File Reference

Go to the source code of this file.

Functions

void print_tree (const size_t depth, std::vector< fr > hashes, std::string const &msg)
 
 TEST (stdlib_nullifier_tree, test_kv_memory_vs_memory_consistency)
 
 TEST (stdlib_nullifier_tree, test_size)
 
 TEST (stdlib_nullifier_tree, test_get_hash_path)
 
 TEST (stdlib_nullifier_tree, test_get_hash_path_layers)
 

Variables

const size_t NUM_VALUES = 1024
 

Function Documentation

◆ print_tree()

void print_tree ( const size_t  depth,
std::vector< fr hashes,
std::string const &  msg 
)
inline

Definition at line 25 of file nullifier_tree.test.cpp.

◆ TEST() [1/4]

TEST ( stdlib_nullifier_tree  ,
test_get_hash_path   
)

Definition at line 95 of file nullifier_tree.test.cpp.

◆ TEST() [2/4]

TEST ( stdlib_nullifier_tree  ,
test_get_hash_path_layers   
)

Definition at line 117 of file nullifier_tree.test.cpp.

◆ TEST() [3/4]

TEST ( stdlib_nullifier_tree  ,
test_kv_memory_vs_memory_consistency   
)

Definition at line 39 of file nullifier_tree.test.cpp.

◆ TEST() [4/4]

TEST ( stdlib_nullifier_tree  ,
test_size   
)

Definition at line 70 of file nullifier_tree.test.cpp.

Variable Documentation

◆ NUM_VALUES

const size_t NUM_VALUES = 1024

Definition at line 16 of file nullifier_tree.test.cpp.