|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for Ah Dry. More...
#include <gtest/gtest.h>#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 |
Functions | |
| TYPED_TEST_SUITE_P (Container) | |
| TYPED_TEST_P (Container, traverse) | |
| TYPED_TEST_P (Container, for_each) | |
| TYPED_TEST_P (Container, find_ptr) | |
| TYPED_TEST_P (Container, find_index_nth) | |
| TYPED_TEST_P (Container, find_item) | |
| TYPED_TEST_P (Container, iterator_operations) | |
| TYPED_TEST_P (Container, nappend) | |
| TYPED_TEST_P (Container, ninsert) | |
| TYPED_TEST_P (Container, all) | |
| TYPED_TEST_P (Container, exists) | |
| TYPED_TEST_P (Container, maps) | |
| TYPED_TEST_P (Container, foldl) | |
| TYPED_TEST_P (Container, filter_ops) | |
| REGISTER_TYPED_TEST_SUITE_P (Container, traverse, for_each, find_ptr, find_index_nth, find_item, iterator_operations, nappend, ninsert, all, exists, maps, foldl, filter_ops) | |
| INSTANTIATE_TYPED_TEST_SUITE_P (traverses, Container, Ctypes) | |
| TYPED_TEST_SUITE_P (CtorContainer) | |
| TYPED_TEST_P (CtorContainer, ctor) | |
| REGISTER_TYPED_TEST_SUITE_P (CtorContainer, ctor) | |
| INSTANTIATE_TYPED_TEST_SUITE_P (Ctors, CtorContainer, 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 | , | ||
| foldl | , | ||
| filter_ops | |||
| ) |
| REGISTER_TYPED_TEST_SUITE_P | ( | CtorContainer | , |
| ctor | |||
| ) |
| TYPED_TEST_P | ( | Container | , |
| all | |||
| ) |
Definition at line 240 of file ah-dry.cc.
References Aleph::maps(), N, Aleph::sort(), tbl, and Aleph::to_dynlist().
| TYPED_TEST_P | ( | Container | , |
| exists | |||
| ) |
Definition at line 255 of file ah-dry.cc.
References FunctionalMethods< Container, T >::all(), l, Aleph::maps(), and N.
| TYPED_TEST_P | ( | Container | , |
| filter_ops | |||
| ) |
Definition at line 287 of file ah-dry.cc.
References FunctionalMethods< Container, T >::foldl(), Aleph::foldl(), l, Aleph::maps(), N, FunctionalMethods< Container, T >::partition(), FunctionalMethods< Container, T >::ptr_filter(), Aleph::sort(), and Aleph::sum().
| TYPED_TEST_P | ( | Container | , |
| find_index_nth | |||
| ) |
Definition at line 119 of file ah-dry.cc.
References Aleph::maps(), and N.
| TYPED_TEST_P | ( | Container | , |
| find_item | |||
| ) |
Definition at line 135 of file ah-dry.cc.
References Aleph::maps(), and N.
| TYPED_TEST_P | ( | Container | , |
| find_ptr | |||
| ) |
Definition at line 104 of file ah-dry.cc.
References Aleph::maps(), and N.
| TYPED_TEST_P | ( | Container | , |
| foldl | |||
| ) |
Definition at line 279 of file ah-dry.cc.
References Aleph::maps(), N, and Aleph::sum().
| TYPED_TEST_P | ( | Container | , |
| for_each | |||
| ) |
Definition at line 93 of file ah-dry.cc.
References Aleph::DynList< T >::append(), FunctionalMethods< Container, T >::for_each(), l, Aleph::maps(), N, Aleph::sort(), and Aleph::zip_all().
| TYPED_TEST_P | ( | Container | , |
| iterator_operations | |||
| ) |
Definition at line 152 of file ah-dry.cc.
References FunctionalMethods< Container, T >::for_each(), Aleph::DynList< T >::get_first(), LocateFunctions< Container, Type >::get_it(), Aleph::DynList< T >::get_last(), l, Aleph::maps(), Aleph::HTList::size(), FunctionalMethods< Container, T >::to_dynlist(), and Aleph::to_dynlist().
| TYPED_TEST_P | ( | Container | , |
| maps | |||
| ) |
Definition at line 265 of file ah-dry.cc.
References Aleph::all(), l, Aleph::maps(), FunctionalMethods< Container, T >::maps(), Aleph::sort(), Aleph::to_dynlist(), and Aleph::zip().
| TYPED_TEST_P | ( | Container | , |
| nappend | |||
| ) |
Definition at line 186 of file ah-dry.cc.
References Aleph::maps(), and N.
| TYPED_TEST_P | ( | Container | , |
| ninsert | |||
| ) |
Definition at line 213 of file ah-dry.cc.
References Aleph::maps(), and N.
Definition at line 82 of file ah-dry.cc.
References l, Aleph::maps(), N, Aleph::sort(), and Aleph::zip_all().
| TYPED_TEST_P | ( | CtorContainer | , |
| ctor | |||
| ) |
Definition at line 361 of file ah-dry.cc.
References Aleph::maps(), N, Aleph::sort(), and Aleph::to_dynlist().
| TYPED_TEST_SUITE_P | ( | Container | ) |
| TYPED_TEST_SUITE_P | ( | CtorContainer | ) |