|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for Ah Dry. More...
#include <gtest/gtest.h>#include <map>#include <vector>#include <ah-zip.H>#include <ahFunctional.H>#include <ah-string-utils.H>#include <ahSort.H>#include <htlist.H>#include <tpl_arrayHeap.H>#include <tpl_dynArrayHeap.H>#include <tpl_dynBinHeap.H>#include <tpl_dynDlist.H>#include <tpl_dynSetTree.H>#include <tpl_hash.H>#include <tpl_dynSetHash.H>#include <tpl_dynArray.H>#include <tpl_arrayQueue.H>#include <tpl_dynListStack.H>#include <tpl_dynarray_set.H>#include <tpl_random_queue.H>Go to the source code of this file.
Classes | |
| struct | Container< Ctype > |
| struct | CtorContainer< C > |
Typedefs | |
| typedef Types< DynList< int >, DynDlist< int >, DynArray< int >, HashSet< int, ODhashTable >, HashSet< int, OLhashTable >, DynHashTable< int, LhashTable >, DynHashTable< int, LinearHashTable >, DynSetHash< int >, DynSetTree< int, Treap >, DynSetTree< int, Treap_Rk >, DynSetTree< int, Rand_Tree >, DynSetTree< int, Splay_Tree >, DynSetTree< int, Avl_Tree >, DynSetTree< int, Rb_Tree >, Array< int >, ArrayQueue< int >, ArrayStack< int >, DynListQueue< int >, DynListStack< int >, DynArrayHeap< int >, DynBinHeap< int >, FixedQueue< int >, FixedStack< int > > | Ctypes |
Tests for Ah Dry.
Definition in file ah-dry.cc.
| typedef Types< DynList<int>, DynDlist<int>, DynArray<int>, HashSet<int, ODhashTable>, HashSet<int, OLhashTable>, DynHashTable<int, LhashTable>, DynHashTable<int, LinearHashTable>, DynSetHash<int>, DynSetTree<int, Treap>, DynSetTree<int, Treap_Rk>, DynSetTree<int, Rand_Tree>, DynSetTree<int, Splay_Tree>, DynSetTree<int, Avl_Tree>, DynSetTree<int, Rb_Tree>, Array<int>, ArrayQueue<int>, ArrayStack<int>, DynListQueue<int>, DynListStack<int>, DynArrayHeap<int>, DynBinHeap<int>, FixedQueue<int>, FixedStack<int> > Ctypes |
| INSTANTIATE_TYPED_TEST_SUITE_P | ( | Ctors | , |
| CtorContainer | , | ||
| Ctypes | |||
| ) |
| REGISTER_TYPED_TEST_SUITE_P | ( | Container | , |
| traverse | , | ||
| for_each | , | ||
| find_ptr | , | ||
| find_index_nth | , | ||
| find_item | , | ||
| iterator_operations | , | ||
| nappend | , | ||
| ninsert | , | ||
| all | , | ||
| exists | , | ||
| maps | , | ||
| map_synonyms | , | ||
| foldl | , | ||
| filter_ops | |||
| ) |
| REGISTER_TYPED_TEST_SUITE_P | ( | CtorContainer | , |
| ctor | |||
| ) |
| TEST | ( | EqualSequenceMethod | , |
| comparison | |||
| ) |
Definition at line 403 of file ah-dry.cc.
References Aleph::blossom_maximum_cardinality_matching(), and EqualSequenceMethod< Container >::equal_to().
| TEST | ( | StdMapCoexistence | , |
| map_method_with_std_map | |||
| ) |
Definition at line 444 of file ah-dry.cc.
References Aleph::blossom_maximum_cardinality_matching(), and FunctionalMethods< Container, T >::map().
| TYPED_TEST_P | ( | Container | , |
| all | |||
| ) |
Definition at line 241 of file ah-dry.cc.
References Aleph::blossom_maximum_cardinality_matching(), N, Aleph::sort(), tbl, and Aleph::to_dynlist().
| TYPED_TEST_P | ( | Container | , |
| exists | |||
| ) |
Definition at line 256 of file ah-dry.cc.
References FunctionalMethods< Container, T >::all(), Aleph::blossom_maximum_cardinality_matching(), l, and N.
| TYPED_TEST_P | ( | Container | , |
| filter_ops | |||
| ) |
Definition at line 302 of file ah-dry.cc.
References Aleph::blossom_maximum_cardinality_matching(), FunctionalMethods< Container, T >::drop(), FunctionalMethods< Container, T >::foldl(), Aleph::foldl(), l, l1, l2, N, FunctionalMethods< Container, T >::ptr_filter(), Aleph::sort(), Aleph::sum(), and FunctionalMethods< Container, T >::take().
| TYPED_TEST_P | ( | Container | , |
| find_index_nth | |||
| ) |
Definition at line 120 of file ah-dry.cc.
References Aleph::blossom_maximum_cardinality_matching(), k, and N.
| TYPED_TEST_P | ( | Container | , |
| find_item | |||
| ) |
Definition at line 136 of file ah-dry.cc.
References Aleph::blossom_maximum_cardinality_matching(), k, and N.
| TYPED_TEST_P | ( | Container | , |
| find_ptr | |||
| ) |
Definition at line 105 of file ah-dry.cc.
References Aleph::blossom_maximum_cardinality_matching(), k, and N.
| TYPED_TEST_P | ( | Container | , |
| foldl | |||
| ) |
Definition at line 294 of file ah-dry.cc.
References Aleph::blossom_maximum_cardinality_matching(), N, and Aleph::sum().
| TYPED_TEST_P | ( | Container | , |
| for_each | |||
| ) |
Definition at line 94 of file ah-dry.cc.
References Aleph::DynList< T >::append(), Aleph::blossom_maximum_cardinality_matching(), FunctionalMethods< Container, T >::for_each(), k, l, N, Aleph::sort(), and Aleph::zip_all().
| TYPED_TEST_P | ( | Container | , |
| iterator_operations | |||
| ) |
Definition at line 153 of file ah-dry.cc.
References Aleph::blossom_maximum_cardinality_matching(), FunctionalMethods< Container, T >::for_each(), Aleph::DynList< T >::get_first(), LocateFunctions< Container, Type >::get_it(), Aleph::DynList< T >::get_last(), l, l2, Aleph::HTList::size(), FunctionalMethods< Container, T >::to_dynlist(), and Aleph::to_dynlist().
| TYPED_TEST_P | ( | Container | , |
| map_synonyms | |||
| ) |
Definition at line 280 of file ah-dry.cc.
References Aleph::all(), Aleph::blossom_maximum_cardinality_matching(), l, FunctionalMethods< Container, T >::map(), FunctionalMethods< Container, T >::map_if(), Aleph::sort(), Aleph::to_dynlist(), and Aleph::zip().
| TYPED_TEST_P | ( | Container | , |
| maps | |||
| ) |
Definition at line 266 of file ah-dry.cc.
References Aleph::all(), Aleph::blossom_maximum_cardinality_matching(), l, FunctionalMethods< Container, T >::maps(), FunctionalMethods< Container, T >::maps_if(), Aleph::sort(), Aleph::to_dynlist(), and Aleph::zip().
| TYPED_TEST_P | ( | Container | , |
| nappend | |||
| ) |
Definition at line 187 of file ah-dry.cc.
References Aleph::blossom_maximum_cardinality_matching(), and N.
| TYPED_TEST_P | ( | Container | , |
| ninsert | |||
| ) |
Definition at line 214 of file ah-dry.cc.
References Aleph::blossom_maximum_cardinality_matching(), and N.
Definition at line 83 of file ah-dry.cc.
References Aleph::blossom_maximum_cardinality_matching(), k, l, N, Aleph::sort(), and Aleph::zip_all().
| TYPED_TEST_P | ( | CtorContainer | , |
| ctor | |||
| ) |
Definition at line 376 of file ah-dry.cc.
References Aleph::blossom_maximum_cardinality_matching(), l1, l2, l3, N, Aleph::sort(), and Aleph::to_dynlist().
| TYPED_TEST_SUITE_P | ( | Container | ) |
| TYPED_TEST_SUITE_P | ( | CtorContainer | ) |