|
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_Iterator, iterator_on_empty_array) | |
| 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 | , |
| container_operations | |||
| ) |
Definition at line 55 of file array-it.cc.
References Aleph::Array_Container< T >::get_first(), Aleph::Array_Container< T >::get_last(), Aleph::Array_Container< T >::is_empty(), Aleph::maps(), and Aleph::Array_Container< T >::size().
| TEST | ( | Array_Container | , |
| empty_array | |||
| ) |
Definition at line 46 of file array-it.cc.
References Aleph::Array_Container< T >::get_first(), Aleph::Array_Container< T >::get_last(), Aleph::Array_Container< T >::is_empty(), Aleph::maps(), and Aleph::Array_Container< T >::size().
| TEST | ( | Array_Container | , |
| helper_make_array_container | |||
| ) |
Definition at line 65 of file array-it.cc.
References Aleph::make_array_container(), and Aleph::maps().
| TEST | ( | Array_Iterator | , |
| invalid_parameters | |||
| ) |
Definition at line 102 of file array-it.cc.
References Aleph::maps().
| TEST | ( | Array_Iterator | , |
| iterator_on_empty_array | |||
| ) |
Definition at line 80 of file array-it.cc.
References Aleph::Array_Iterator< T >::get_curr(), Aleph::Array_Iterator< T >::has_curr(), Aleph::maps(), 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 222 of file array-it.cc.
References dim(), Aleph::Array_Iterator< T >::get_curr(), Aleph::Array_Iterator< T >::has_curr(), Aleph::maps(), 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 247 of file array-it.cc.
References dim(), Aleph::Array_Iterator< T >::get_curr(), Aleph::Array_Iterator< T >::has_curr(), Aleph::maps(), 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 213 of file array-it.cc.
References Aleph::Array_Iterator< T >::get_curr(), Aleph::Array_Iterator< T >::has_curr(), Aleph::maps(), Aleph::Array_Iterator< T >::next(), and Aleph::Array_Iterator< T >::prev().
| TEST_F | ( | Array100 | , |
| Iterator_on_full_circular_array_region | |||
| ) |
Definition at line 268 of file array-it.cc.
References dim(), Aleph::Array_Iterator< T >::get_curr(), Aleph::Array_Iterator< T >::has_curr(), Aleph::maps(), 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 160 of file array-it.cc.
References Aleph::Array_Container< T >::get_it(), and Aleph::maps().
| TEST_F | ( | Array_of_n_items | , |
| Iterator_with_simple_bounds | |||
| ) |
Definition at line 128 of file array-it.cc.
References Aleph::Array_Iterator< T >::get_curr(), Aleph::Array_Iterator< T >::has_curr(), Aleph::maps(), 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 114 of file array-it.cc.
Referenced by Array_of_n_items::Array_of_n_items().