|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Tests for Tpl Dynmaptree. More...
#include <gtest/gtest.h>#include <tpl_array.H>#include <tpl_dynMapTree.H>#include <string>#include <type_traits>#include <utility>#include <vector>Go to the source code of this file.
Functions | |
| TEST (DynMapTree, DefaultConstruction) | |
| TEST (DynMapTree, ConstructFromKeys) | |
| TEST (DynMapTree, InsertReturnsNullptrOnDuplicate) | |
| TEST (DynMapTree, AppendAndPutAreAliases) | |
| TEST (DynMapTree, SearchHasContains) | |
| TEST (DynMapTree, FindThrowsOnMissing) | |
| TEST (DynMapTree, OperatorBracketsInsertsDefault) | |
| TEST (DynMapTree, ConstOperatorBracketsThrowsOnMissing) | |
| TEST (DynMapTree, RemoveReturnsData) | |
| TEST (DynMapTree, RemoveKeyThrowsOnMissing) | |
| TEST (DynMapTree, KeysAndValues) | |
| TEST (DynMapTree, ValuesPtrAndItemsPtr) | |
| TEST (DynMapTree, GetDataAndGetKeyHelpers) | |
| TEST (DynMapTree, CustomComparatorAffectsTraversalOrder) | |
| TEST (DynMapTree, TypeTraits) | |
| TYPED_TEST (DynMapTreeSearchByKey, FindsEveryStringKeyAndNoOther) | |
| int | main (int argc, char **argv) |
Tests for Tpl Dynmaptree.
Definition in file tpl_dynMapTree_test.cc.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 287 of file tpl_dynMapTree_test.cc.
| TEST | ( | DynMapTree | , |
| AppendAndPutAreAliases | |||
| ) |
Definition at line 104 of file tpl_dynMapTree_test.cc.
References OhashCommon< HashTbl, Key >::append(), m, and OhashCommon< HashTbl, Key >::size().
| TEST | ( | DynMapTree | , |
| ConstOperatorBracketsThrowsOnMissing | |||
| ) |
Definition at line 141 of file tpl_dynMapTree_test.cc.
References m.
| TEST | ( | DynMapTree | , |
| ConstructFromKeys | |||
| ) |
Definition at line 74 of file tpl_dynMapTree_test.cc.
References Aleph::DynList< T >::append(), OhashCommon< HashTbl, Key >::has(), keys, m, and OhashCommon< HashTbl, Key >::size().
| TEST | ( | DynMapTree | , |
| CustomComparatorAffectsTraversalOrder | |||
| ) |
Definition at line 208 of file tpl_dynMapTree_test.cc.
References OhashCommon< HashTbl, Key >::insert(), and m.
| TEST | ( | DynMapTree | , |
| DefaultConstruction | |||
| ) |
Definition at line 67 of file tpl_dynMapTree_test.cc.
References OhashCommon< HashTbl, Key >::is_empty(), m, and OhashCommon< HashTbl, Key >::size().
| TEST | ( | DynMapTree | , |
| FindThrowsOnMissing | |||
| ) |
Definition at line 125 of file tpl_dynMapTree_test.cc.
References OhashCommon< HashTbl, Key >::find(), and m.
| TEST | ( | DynMapTree | , |
| GetDataAndGetKeyHelpers | |||
| ) |
Definition at line 191 of file tpl_dynMapTree_test.cc.
References OhashCommon< HashTbl, Key >::find(), Aleph::DynMapTree< Key, Data, Tree, Compare >::get_data(), Aleph::DynMapTree< Key, Data, Tree, Compare >::get_key(), m, and Aleph::ODhashTable< Key, Cmp >::search().
| TEST | ( | DynMapTree | , |
| InsertReturnsNullptrOnDuplicate | |||
| ) |
Definition at line 93 of file tpl_dynMapTree_test.cc.
References OhashCommon< HashTbl, Key >::find(), OhashCommon< HashTbl, Key >::insert(), m, and OhashCommon< HashTbl, Key >::size().
| TEST | ( | DynMapTree | , |
| KeysAndValues | |||
| ) |
Definition at line 165 of file tpl_dynMapTree_test.cc.
References OhashCommon< HashTbl, Key >::keys(), keys, and m.
| TEST | ( | DynMapTree | , |
| OperatorBracketsInsertsDefault | |||
| ) |
Definition at line 131 of file tpl_dynMapTree_test.cc.
References OhashCommon< HashTbl, Key >::find(), m, and OhashCommon< HashTbl, Key >::size().
| TEST | ( | DynMapTree | , |
| RemoveKeyThrowsOnMissing | |||
| ) |
Definition at line 159 of file tpl_dynMapTree_test.cc.
References m.
| TEST | ( | DynMapTree | , |
| RemoveReturnsData | |||
| ) |
Definition at line 148 of file tpl_dynMapTree_test.cc.
References OhashCommon< HashTbl, Key >::has(), m, Aleph::ODhashTable< Key, Cmp >::remove(), and OhashCommon< HashTbl, Key >::size().
| TEST | ( | DynMapTree | , |
| SearchHasContains | |||
| ) |
Definition at line 112 of file tpl_dynMapTree_test.cc.
References Aleph::ODhashTable< Key, Cmp >::contains(), OhashCommon< HashTbl, Key >::has(), m, and Aleph::ODhashTable< Key, Cmp >::search().
| TEST | ( | DynMapTree | , |
| TypeTraits | |||
| ) |
Definition at line 222 of file tpl_dynMapTree_test.cc.
| TEST | ( | DynMapTree | , |
| ValuesPtrAndItemsPtr | |||
| ) |
Definition at line 176 of file tpl_dynMapTree_test.cc.
References OhashCommon< HashTbl, Key >::find(), and m.
| TYPED_TEST | ( | DynMapTreeSearchByKey | , |
| FindsEveryStringKeyAndNoOther | |||
| ) |
Definition at line 259 of file tpl_dynMapTree_test.cc.
References Aleph::Array< T >::append(), N, and Aleph::prefix().