|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for Dynlist. More...
Go to the source code of this file.
Classes | |
| struct | List_of_25_items |
Functions | |
| TEST (DynList, Basic_operations) | |
| TEST (DynList, Clear_operation) | |
| TEST (DynList, EqualityOperator) | |
| TEST (DynList, Simple_append_and_insert_of_list) | |
| TEST (DynListAlgorithms, InPlaceUnique) | |
| TEST_F (List_of_25_items, Basic_operations) | |
| TEST_F (List_of_25_items, Iterator_operations) | |
| TEST_F (List_of_25_items, Split_and_concat) | |
| TEST_F (List_of_25_items, swap) | |
| TEST_F (List_of_25_items, reverse) | |
| TEST_F (List_of_25_items, rotate_left) | |
| TEST_F (List_of_25_items, append_and_insert_by_moving) | |
| TEST (DynList, traverse_on_empty_container) | |
| TEST_F (List_of_25_items, traverse) | |
| TEST (DynListFunctional, ToArrayHelperPreservesOrder) | |
Tests for Dynlist.
Definition in file dynlist.cc.
| TEST | ( | DynList | , |
| Basic_operations | |||
| ) |
Definition at line 62 of file dynlist.cc.
References Aleph::DynList< T >::append(), Aleph::divide_and_conquer_partition_dp(), Aleph::DynList< T >::get_first(), Aleph::DynList< T >::get_last(), Aleph::DynList< T >::insert(), Aleph::HTList::is_empty(), Aleph::HTList::is_unitarian(), Aleph::HTList::is_unitarian_or_empty(), Aleph::DynList< T >::remove_first(), Aleph::HTList::rotate_left(), and Aleph::HTList::size().
| TEST | ( | DynList | , |
| Clear_operation | |||
| ) |
| TEST | ( | DynList | , |
| EqualityOperator | |||
| ) |
Definition at line 133 of file dynlist.cc.
References Aleph::divide_and_conquer_partition_dp(), l1, l2, and l3.
| TEST | ( | DynList | , |
| Simple_append_and_insert_of_list | |||
| ) |
Definition at line 153 of file dynlist.cc.
References Aleph::DynList< T >::append(), Aleph::divide_and_conquer_partition_dp(), Aleph::DynList< T >::get_first(), Aleph::DynList< T >::get_last(), Aleph::DynList< T >::insert(), Aleph::HTList::is_unitarian(), and Aleph::HTList::size().
| TEST | ( | DynList | , |
| traverse_on_empty_container | |||
| ) |
Definition at line 346 of file dynlist.cc.
References Aleph::divide_and_conquer_partition_dp(), m, and GenericTraverse< Container >::traverse().
| TEST | ( | DynListAlgorithms | , |
| InPlaceUnique | |||
| ) |
Definition at line 170 of file dynlist.cc.
References Aleph::DynList< T >::append(), Aleph::divide_and_conquer_partition_dp(), LocateFunctions< Container, Type >::get_it(), Aleph::in_place_unique(), and Aleph::HTList::size().
| TEST | ( | DynListFunctional | , |
| ToArrayHelperPreservesOrder | |||
| ) |
Definition at line 365 of file dynlist.cc.
References Aleph::DynList< T >::append(), Aleph::divide_and_conquer_partition_dp(), LocateFunctions< Container, Type >::get_it(), Aleph::HTList::size(), and Aleph::to_array().
| TEST_F | ( | List_of_25_items | , |
| append_and_insert_by_moving | |||
| ) |
Definition at line 328 of file dynlist.cc.
References Aleph::divide_and_conquer_partition_dp(), Aleph::DynList< T >::insert(), and Aleph::DynList< T >::reverse().
| TEST_F | ( | List_of_25_items | , |
| Basic_operations | |||
| ) |
Definition at line 215 of file dynlist.cc.
References Aleph::divide_and_conquer_partition_dp().
| TEST_F | ( | List_of_25_items | , |
| Iterator_operations | |||
| ) |
Definition at line 225 of file dynlist.cc.
References Aleph::divide_and_conquer_partition_dp().
| TEST_F | ( | List_of_25_items | , |
| reverse | |||
| ) |
Definition at line 276 of file dynlist.cc.
References Aleph::divide_and_conquer_partition_dp(), Aleph::eq(), Aleph::HTList::Iterator::has_curr(), Aleph::DynList< T >::insert(), l, r, Aleph::DynList< T >::reverse(), and Aleph::HTList::split().
| TEST_F | ( | List_of_25_items | , |
| rotate_left | |||
| ) |
Definition at line 312 of file dynlist.cc.
References Aleph::divide_and_conquer_partition_dp().
| TEST_F | ( | List_of_25_items | , |
| Split_and_concat | |||
| ) |
Definition at line 235 of file dynlist.cc.
References Aleph::divide_and_conquer_partition_dp(), Aleph::DynList< T >::get_first(), LocateFunctions< Container, Type >::get_it(), Aleph::DynList< T >::get_last(), l, r, Aleph::HTList::size(), and Aleph::HTList::split().
| TEST_F | ( | List_of_25_items | , |
| swap | |||
| ) |
Definition at line 262 of file dynlist.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::DynList< T >::swap().
| TEST_F | ( | List_of_25_items | , |
| traverse | |||
| ) |
Definition at line 355 of file dynlist.cc.
References Aleph::divide_and_conquer_partition_dp(), and N.