Go to the source code of this file.
Typedefs | |
typedef BTree< string, int > | IntTree |
typedef pair< string, int > | KeyInt |
typedef pair< size_t, size_t > | Range |
typedef BTree< string, Range > | RangeTree |
Functions | |
int | add (const string &k, int v, int a) |
int | f (const string &key, const Range &range) |
void | g (const string &key, int i) |
int | main () |
KeyInt | p1 (x1, 1) |
KeyInt | p2 (x2, 2) |
KeyInt | p3 (x3, 3) |
KeyInt | p4 (x4, 4) |
KeyInt | p5 (x5, 5) |
TEST (BTree, add) | |
TEST (BTree, equality) | |
TEST (BTree, iterating) | |
TEST (BTree, remove) | |
TEST (BTree, stress) | |
static string | x1 ("x1") |
static string | x2 ("x2") |
static string | x3 ("x3") |
static string | x4 ("x4") |
static string | x5 ("x5") |
Variables | |
static std::stringstream | ss |
Definition in file testBTree.cpp.
Definition at line 29 of file testBTree.cpp.
Definition at line 33 of file testBTree.cpp.
Definition at line 27 of file testBTree.cpp.
Definition at line 28 of file testBTree.cpp.
Definition at line 45 of file testBTree.cpp.
Definition at line 37 of file testBTree.cpp.
void g | ( | const string & | key, |
int | i | ||
) |
Definition at line 41 of file testBTree.cpp.
int main | ( | ) |
Definition at line 202 of file testBTree.cpp.
Definition at line 50 of file testBTree.cpp.
TEST | ( | BTree | , |
equality | |||
) |
Definition at line 91 of file testBTree.cpp.
TEST | ( | BTree | , |
iterating | |||
) |
Definition at line 119 of file testBTree.cpp.
TEST | ( | BTree | , |
remove | |||
) |
Definition at line 159 of file testBTree.cpp.
TEST | ( | BTree | , |
stress | |||
) |
Definition at line 170 of file testBTree.cpp.
|
static |
static string x2 | ( | "x2" | ) |
static string x3 | ( | "x3" | ) |
static string x4 | ( | "x4" | ) |
static string x5 | ( | "x5" | ) |
|
static |
Definition at line 31 of file testBTree.cpp.