|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for Array It. More...
Go to the source code of this file.
Classes | |
| struct | Array_of_n_items |
| struct | Array100 |
Functions | |
| TEST (Array_Container, empty_array) | |
| TEST (Array_Container, container_operations) | |
| TEST (Array_Container, helper_make_array_container) | |
| TEST (Array_Container, const_element_type_gives_read_only_view) | |
| TEST (Array_Iterator, iterator_on_empty_array) | |
| TEST (Array_Iterator, is_last_requires_current_item) | |
| TEST (Array_Iterator, invalid_parameters) | |
| TEST_F (Array_of_n_items, Iterator_with_simple_bounds) | |
| TEST_F (Array_of_n_items, Iterator_on_Array_Container) | |
| TEST_F (Array100, Iterator_on_empty_array_region) | |
| TEST_F (Array100, Iterator_on_array_region) | |
| TEST_F (Array100, Iterator_on_circular_array_region) | |
| TEST_F (Array100, Iterator_on_full_circular_array_region) | |
Variables | |
| constexpr size_t | N = 29 |
Tests for Array It.
Definition in file array-it.cc.
| TEST | ( | Array_Container | , |
| const_element_type_gives_read_only_view | |||
| ) |
Definition at line 82 of file array-it.cc.
References Aleph::blossom_maximum_cardinality_matching(), FunctionalMethods< Container, T >::foldl(), Aleph::Array_Container< T >::get_base(), Aleph::Array_Iterator< T >::get_curr(), Aleph::Array_Container< T >::get_first(), Aleph::Array_Container< T >::get_it(), Aleph::Array_Container< T >::get_last(), and Aleph::sum().
| TEST | ( | Array_Container | , |
| container_operations | |||
| ) |
Definition at line 55 of file array-it.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::Array_Container< T >::get_first(), Aleph::Array_Container< T >::get_last(), Aleph::Array_Container< T >::is_empty(), and Aleph::Array_Container< T >::size().
| TEST | ( | Array_Container | , |
| empty_array | |||
| ) |
Definition at line 46 of file array-it.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::Array_Container< T >::get_first(), Aleph::Array_Container< T >::get_last(), Aleph::Array_Container< T >::is_empty(), and Aleph::Array_Container< T >::size().
| TEST | ( | Array_Container | , |
| helper_make_array_container | |||
| ) |
Definition at line 65 of file array-it.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::make_array_container().
| TEST | ( | Array_Iterator | , |
| invalid_parameters | |||
| ) |
Definition at line 149 of file array-it.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST | ( | Array_Iterator | , |
| is_last_requires_current_item | |||
| ) |
Definition at line 128 of file array-it.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::Array_Iterator< T >::has_curr(), Aleph::Array_Iterator< T >::is_last(), and Aleph::Array_Iterator< T >::reset_last().
| TEST | ( | Array_Iterator | , |
| iterator_on_empty_array | |||
| ) |
Definition at line 106 of file array-it.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::Array_Iterator< T >::get_curr(), Aleph::Array_Iterator< T >::has_curr(), Aleph::Array_Iterator< T >::next(), Aleph::Array_Iterator< T >::prev(), Aleph::Array_Iterator< T >::reset(), and Aleph::Array_Iterator< T >::reset_last().
| TEST_F | ( | Array100 | , |
| Iterator_on_array_region | |||
| ) |
Definition at line 269 of file array-it.cc.
References Aleph::blossom_maximum_cardinality_matching(), dim(), Aleph::Array_Iterator< T >::get_curr(), Aleph::Array_Iterator< T >::has_curr(), Aleph::Array_Iterator< T >::next(), Aleph::Array_Iterator< T >::prev(), Aleph::Array_Iterator< T >::reset_first(), and Aleph::Array_Iterator< T >::reset_last().
| TEST_F | ( | Array100 | , |
| Iterator_on_circular_array_region | |||
| ) |
Definition at line 294 of file array-it.cc.
References Aleph::blossom_maximum_cardinality_matching(), dim(), Aleph::Array_Iterator< T >::get_curr(), Aleph::Array_Iterator< T >::has_curr(), Aleph::Array_Iterator< T >::next(), Aleph::Array_Iterator< T >::prev(), and Aleph::Array_Iterator< T >::reset_last().
| TEST_F | ( | Array100 | , |
| Iterator_on_empty_array_region | |||
| ) |
Definition at line 260 of file array-it.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::Array_Iterator< T >::get_curr(), Aleph::Array_Iterator< T >::has_curr(), Aleph::Array_Iterator< T >::next(), and Aleph::Array_Iterator< T >::prev().
| TEST_F | ( | Array100 | , |
| Iterator_on_full_circular_array_region | |||
| ) |
Definition at line 315 of file array-it.cc.
References Aleph::blossom_maximum_cardinality_matching(), dim(), Aleph::Array_Iterator< T >::get_curr(), Aleph::Array_Iterator< T >::has_curr(), k, Aleph::Array_Iterator< T >::next(), Aleph::Array_Iterator< T >::prev(), and Aleph::Array_Iterator< T >::reset_last().
| TEST_F | ( | Array_of_n_items | , |
| Iterator_on_Array_Container | |||
| ) |
Definition at line 207 of file array-it.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::Array_Container< T >::get_it().
| TEST_F | ( | Array_of_n_items | , |
| Iterator_with_simple_bounds | |||
| ) |
Definition at line 175 of file array-it.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::Array_Iterator< T >::get_curr(), Aleph::Array_Iterator< T >::has_curr(), Aleph::Array_Iterator< T >::next(), Aleph::Array_Iterator< T >::prev(), Aleph::Array_Iterator< T >::reset(), and Aleph::Array_Iterator< T >::reset_last().
|
constexpr |
Definition at line 161 of file array-it.cc.
Referenced by Array_of_n_items::Array_of_n_items().