|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for B-Tree (tpl_b_tree.H) More...
#include <algorithm>#include <random>#include <set>#include <vector>#include <gtest/gtest.h>#include <tpl_b_tree.H>Go to the source code of this file.
Classes | |
| class | BTreeTest |
Functions | |
| TEST_F (BTreeTest, EmptyTreeReportsNoKeys) | |
| TEST_F (BTreeTest, InitializerListAndRangeConstructorSortAndDeduplicate) | |
| TEST_F (BTreeTest, InsertSearchAndBoundsWorkAcrossInternalNodes) | |
| TEST_F (BTreeTest, RemoveMaintainsOrderAndInvariants) | |
| TEST_F (BTreeTest, CopyAndMovePreserveKeys) | |
| TEST_F (BTreeTest, RandomizedOperationsMatchStdSetOracle) | |
Tests for B-Tree (tpl_b_tree.H)
Definition in file b_tree_test.cc.
| TEST_F | ( | BTreeTest | , |
| CopyAndMovePreserveKeys | |||
| ) |
Definition at line 182 of file b_tree_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::copy(), and Aleph::to_vector().
| TEST_F | ( | BTreeTest | , |
| EmptyTreeReportsNoKeys | |||
| ) |
Definition at line 106 of file b_tree_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), QuadTree::empty(), and Aleph::to_vector().
| TEST_F | ( | BTreeTest | , |
| InitializerListAndRangeConstructorSortAndDeduplicate | |||
| ) |
Definition at line 122 of file b_tree_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::to_vector().
| TEST_F | ( | BTreeTest | , |
| InsertSearchAndBoundsWorkAcrossInternalNodes | |||
| ) |
Definition at line 134 of file b_tree_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), QuadTree::contains(), QuadTree::insert(), QuadTree::search(), Aleph::to_vector(), and value.
| TEST_F | ( | BTreeTest | , |
| RandomizedOperationsMatchStdSetOracle | |||
| ) |
Definition at line 205 of file b_tree_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), QuadTree::contains(), QuadTree::insert(), QuadTree::remove(), rng, and value.
| TEST_F | ( | BTreeTest | , |
| RemoveMaintainsOrderAndInvariants | |||
| ) |
Definition at line 159 of file b_tree_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), QuadTree::insert(), QuadTree::remove(), and value.