CCTLib
Calling-context and data-object attribution library for Intel Pin
rbtree_test.cpp File Reference
#include <cstdint>
#include <random>
#include <set>
#include <vector>
#include <gtest/gtest.h>
#include "rbtree.h"
+ Include dependency graph for rbtree_test.cpp:

Go to the source code of this file.

Classes

class  anonymous_namespace{rbtree_test.cpp}::NodeArena
 

Namespaces

 anonymous_namespace{rbtree_test.cpp}
 

Typedefs

using anonymous_namespace{rbtree_test.cpp}::KV = TreeNode< uint64_t, uint32_t, uint64_t >
 
using anonymous_namespace{rbtree_test.cpp}::Tree = RBTree< uint64_t, uint32_t, uint64_t >
 

Functions

 anonymous_namespace{rbtree_test.cpp}::TEST (RBTree, EmptyIsValid)
 
 anonymous_namespace{rbtree_test.cpp}::TEST (RBTree, InsertOne)
 
 anonymous_namespace{rbtree_test.cpp}::TEST (RBTree, InsertAscending)
 
 anonymous_namespace{rbtree_test.cpp}::TEST (RBTree, InsertDescending)
 
 anonymous_namespace{rbtree_test.cpp}::TEST (RBTree, InsertPseudoRandomLargeN)
 
 anonymous_namespace{rbtree_test.cpp}::TEST (RBTree, SumMatchesLinearScan)
 
 anonymous_namespace{rbtree_test.cpp}::TEST (RBTree, DeleteViaFindMaintainsInvariants)
 
 anonymous_namespace{rbtree_test.cpp}::TEST (RBTree, InsertDeleteAllYieldsValidEmpty)