|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for Dynliststack. More...
Go to the source code of this file.
Classes | |
| struct | SimpleStack |
| Fixture with a stack of integers. More... | |
| struct | ComplexStack |
| Fixture with a stack of complex objects (DynList<int>) More... | |
Functions | |
| TEST (DynListStack, empty_stack) | |
| TEST_F (SimpleStack, push_pop) | |
| TEST_F (ComplexStack, push_pop) | |
| TEST (DynListStack, Iterator_on_empty_stack) | |
| TEST_F (SimpleStack, Iterator) | |
| TEST_F (ComplexStack, Iterator) | |
| TEST_F (SimpleStack, copy_operations) | |
| TEST_F (ComplexStack, copy_operations) | |
| TEST_F (SimpleStack, traverse) | |
| TEST_F (ComplexStack, traverse) | |
Variables | |
| constexpr size_t | N = 17 |
Tests for Dynliststack.
Definition in file dynliststack.cc.
| TEST | ( | DynListStack | , |
| empty_stack | |||
| ) |
Definition at line 71 of file dynliststack.cc.
References Aleph::DynListStack< T >::is_empty(), Aleph::maps(), Aleph::DynListStack< T >::size(), and Aleph::DynListStack< T >::top().
| TEST | ( | DynListStack | , |
| Iterator_on_empty_stack | |||
| ) |
Definition at line 186 of file dynliststack.cc.
References LocateFunctions< Container, Type >::get_it(), and Aleph::maps().
| TEST_F | ( | ComplexStack | , |
| copy_operations | |||
| ) |
Definition at line 269 of file dynliststack.cc.
References Aleph::eq(), Aleph::HTList::is_empty(), Aleph::maps(), Aleph::HTList::size(), and Aleph::DynList< T >::top().
| TEST_F | ( | ComplexStack | , |
| Iterator | |||
| ) |
Definition at line 202 of file dynliststack.cc.
References Aleph::maps().
| TEST_F | ( | ComplexStack | , |
| push_pop | |||
| ) |
Definition at line 109 of file dynliststack.cc.
References Aleph::DynList< T >::get_first(), Aleph::DynList< T >::get_last(), l, Aleph::maps(), LocateFunctions< Container, Type >::nth(), Aleph::DynList< T >::pop(), and Aleph::DynList< T >::push().
| TEST_F | ( | ComplexStack | , |
| traverse | |||
| ) |
Definition at line 317 of file dynliststack.cc.
References Aleph::DynList< T >::get_first(), Aleph::DynList< T >::get_last(), l, Aleph::maps(), N, LocateFunctions< Container, Type >::nth(), and GenericTraverse< Container >::traverse().
| TEST_F | ( | SimpleStack | , |
| copy_operations | |||
| ) |
Definition at line 214 of file dynliststack.cc.
References Aleph::HTList::is_empty(), Aleph::maps(), Aleph::DynList< T >::pop(), and Aleph::HTList::size().
| TEST_F | ( | SimpleStack | , |
| Iterator | |||
| ) |
Definition at line 195 of file dynliststack.cc.
References Aleph::maps().
| TEST_F | ( | SimpleStack | , |
| push_pop | |||
| ) |
Definition at line 79 of file dynliststack.cc.
References Aleph::maps().
| TEST_F | ( | SimpleStack | , |
| traverse | |||
| ) |
Definition at line 309 of file dynliststack.cc.
References Aleph::maps(), N, and GenericTraverse< Container >::traverse().
|
constexpr |
Definition at line 47 of file dynliststack.cc.