#include <boost/shared_ptr.hpp>
#include <boost/assign/std/list.hpp>
#include <CppUnitLite/TestHarness.h>
#include <gtsam_unstable/base/BTree.h>
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 31 of file testBTree.cpp.
Definition at line 35 of file testBTree.cpp.
Definition at line 29 of file testBTree.cpp.
Definition at line 30 of file testBTree.cpp.
Definition at line 47 of file testBTree.cpp.
Definition at line 39 of file testBTree.cpp.
void g | ( | const string & | key, |
int | i | ||
) |
Definition at line 43 of file testBTree.cpp.
int main | ( | void | ) |
Definition at line 205 of file testBTree.cpp.
Definition at line 52 of file testBTree.cpp.
TEST | ( | BTree | , |
equality | |||
) |
Definition at line 93 of file testBTree.cpp.
TEST | ( | BTree | , |
iterating | |||
) |
Definition at line 121 of file testBTree.cpp.
TEST | ( | BTree | , |
remove | |||
) |
Definition at line 162 of file testBTree.cpp.
TEST | ( | BTree | , |
stress | |||
) |
Definition at line 173 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 33 of file testBTree.cpp.